First release
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
GROUP "Pictures"
|
||||||
|
ENTRY "local - import" URL "/Users/mzpx/Import"
|
||||||
|
ENTRY "/Volumes/WORK/pictures" URL "/Volumes/WORK/pictures"
|
||||||
|
ENDGROUP
|
||||||
|
ENTRY "/Volumes" URL "/Volumes"
|
||||||
|
ENTRY "mzpx - home" URL "/Users/mzpx"
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
GROUP "Pictures"
|
||||||
|
ENTRY "/Volumes/WORK/pictures" URL "/Volumes/WORK/pictures"
|
||||||
|
ENTRY "local - import" URL "/Users/mzpx/Import"
|
||||||
|
ENDGROUP
|
||||||
|
ENTRY "/Volumes" URL "/Volumes"
|
||||||
|
ENTRY "mzpx - home" URL "/Users/mzpx"
|
||||||
@@ -0,0 +1,160 @@
|
|||||||
|
[Midnight-Commander]
|
||||||
|
verbose=true
|
||||||
|
shell_patterns=true
|
||||||
|
auto_save_setup=true
|
||||||
|
preallocate_space=false
|
||||||
|
auto_menu=false
|
||||||
|
use_internal_view=true
|
||||||
|
use_internal_edit=false
|
||||||
|
clear_before_exec=true
|
||||||
|
confirm_delete=true
|
||||||
|
confirm_overwrite=true
|
||||||
|
confirm_execute=false
|
||||||
|
confirm_history_cleanup=true
|
||||||
|
confirm_exit=false
|
||||||
|
confirm_directory_hotlist_delete=false
|
||||||
|
confirm_view_dir=false
|
||||||
|
safe_delete=false
|
||||||
|
safe_overwrite=false
|
||||||
|
use_8th_bit_as_meta=false
|
||||||
|
mouse_move_pages_viewer=true
|
||||||
|
mouse_close_dialog=false
|
||||||
|
fast_refresh=false
|
||||||
|
drop_menus=false
|
||||||
|
wrap_mode=true
|
||||||
|
old_esc_mode=true
|
||||||
|
cd_symlinks=true
|
||||||
|
show_all_if_ambiguous=false
|
||||||
|
use_file_to_guess_type=true
|
||||||
|
alternate_plus_minus=false
|
||||||
|
only_leading_plus_minus=true
|
||||||
|
show_output_starts_shell=false
|
||||||
|
xtree_mode=false
|
||||||
|
file_op_compute_totals=true
|
||||||
|
classic_progressbar=true
|
||||||
|
use_netrc=true
|
||||||
|
ftpfs_always_use_proxy=false
|
||||||
|
ftpfs_use_passive_connections=true
|
||||||
|
ftpfs_use_passive_connections_over_proxy=false
|
||||||
|
ftpfs_use_unix_list_options=true
|
||||||
|
ftpfs_first_cd_then_ls=true
|
||||||
|
ignore_ftp_chattr_errors=true
|
||||||
|
editor_fill_tabs_with_spaces=false
|
||||||
|
editor_return_does_auto_indent=true
|
||||||
|
editor_backspace_through_tabs=false
|
||||||
|
editor_fake_half_tabs=true
|
||||||
|
editor_option_save_position=true
|
||||||
|
editor_option_auto_para_formatting=false
|
||||||
|
editor_option_typewriter_wrap=false
|
||||||
|
editor_edit_confirm_save=true
|
||||||
|
editor_syntax_highlighting=true
|
||||||
|
editor_persistent_selections=true
|
||||||
|
editor_drop_selection_on_copy=true
|
||||||
|
editor_cursor_beyond_eol=false
|
||||||
|
editor_cursor_after_inserted_block=false
|
||||||
|
editor_visible_tabs=true
|
||||||
|
editor_visible_spaces=true
|
||||||
|
editor_line_state=false
|
||||||
|
editor_simple_statusbar=false
|
||||||
|
editor_check_new_line=false
|
||||||
|
editor_show_right_margin=false
|
||||||
|
editor_group_undo=false
|
||||||
|
editor_state_full_filename=false
|
||||||
|
editor_ask_filename_before_edit=false
|
||||||
|
nice_rotating_dash=true
|
||||||
|
shadows=true
|
||||||
|
mcview_remember_file_position=false
|
||||||
|
auto_fill_mkdir_name=true
|
||||||
|
copymove_persistent_attr=true
|
||||||
|
pause_after_run=1
|
||||||
|
mouse_repeat_rate=100
|
||||||
|
double_click_speed=250
|
||||||
|
old_esc_mode_timeout=1000000
|
||||||
|
max_dirt_limit=10
|
||||||
|
num_history_items_recorded=60
|
||||||
|
vfs_timeout=60
|
||||||
|
ftpfs_directory_timeout=900
|
||||||
|
ftpfs_retry_seconds=30
|
||||||
|
shell_directory_timeout=900
|
||||||
|
editor_tab_spacing=8
|
||||||
|
editor_word_wrap_line_length=72
|
||||||
|
editor_option_save_mode=0
|
||||||
|
editor_backup_extension=~
|
||||||
|
editor_filesize_threshold=64M
|
||||||
|
editor_stop_format_chars=-+*\\,.;:&>
|
||||||
|
mcview_eof=
|
||||||
|
skin=modarin256-thin
|
||||||
|
filepos_max_saved_entries=1024
|
||||||
|
|
||||||
|
[Layout]
|
||||||
|
output_lines=0
|
||||||
|
left_panel_size=50
|
||||||
|
top_panel_size=16
|
||||||
|
message_visible=false
|
||||||
|
keybar_visible=true
|
||||||
|
xterm_title=true
|
||||||
|
command_prompt=false
|
||||||
|
menubar_visible=true
|
||||||
|
free_space=true
|
||||||
|
horizontal_split=false
|
||||||
|
vertical_equal=true
|
||||||
|
horizontal_equal=true
|
||||||
|
|
||||||
|
[Misc]
|
||||||
|
timeformat_recent=%b %e %H:%M
|
||||||
|
timeformat_old=%b %e %Y
|
||||||
|
ftp_proxy_host=gate
|
||||||
|
ftpfs_password=anonymous@
|
||||||
|
display_codepage=UTF-8
|
||||||
|
source_codepage=Other_8_bit
|
||||||
|
autodetect_codeset=
|
||||||
|
clipboard_store=
|
||||||
|
clipboard_paste=
|
||||||
|
|
||||||
|
[Colors]
|
||||||
|
base_color=
|
||||||
|
xterm-256color=
|
||||||
|
color_terminals=
|
||||||
|
|
||||||
|
[Panels]
|
||||||
|
show_mini_info=true
|
||||||
|
kilobyte_si=false
|
||||||
|
mix_all_files=false
|
||||||
|
show_backups=true
|
||||||
|
show_dot_files=true
|
||||||
|
fast_reload=false
|
||||||
|
fast_reload_msg_shown=false
|
||||||
|
mark_moves_down=true
|
||||||
|
reverse_files_only=true
|
||||||
|
auto_save_setup_panels=false
|
||||||
|
navigate_with_arrows=false
|
||||||
|
panel_scroll_pages=true
|
||||||
|
panel_scroll_center=false
|
||||||
|
mouse_move_pages=true
|
||||||
|
filetype_mode=true
|
||||||
|
permission_mode=false
|
||||||
|
torben_fj_mode=false
|
||||||
|
quick_search_mode=0
|
||||||
|
select_flags=6
|
||||||
|
simple_swap=false
|
||||||
|
|
||||||
|
[FindFile]
|
||||||
|
file_case_sens=true
|
||||||
|
file_shell_pattern=true
|
||||||
|
file_find_recurs=true
|
||||||
|
follow_symlinks=false
|
||||||
|
file_skip_hidden=false
|
||||||
|
file_all_charsets=false
|
||||||
|
content_case_sens=false
|
||||||
|
content_regexp=false
|
||||||
|
content_first_hit=false
|
||||||
|
content_whole_words=false
|
||||||
|
content_all_charsets=false
|
||||||
|
ignore_dirs_enable=true
|
||||||
|
ignore_dirs=
|
||||||
|
|
||||||
|
[Panelize]
|
||||||
|
Modified git files=git ls-files --modified
|
||||||
|
Find *.orig after patching=find . -name \\*.orig -print
|
||||||
|
Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print
|
||||||
|
Find rejects after patching=find . -name \\*.rej -print
|
||||||
+1185
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,379 @@
|
|||||||
|
shell_patterns=0
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# %% The % character
|
||||||
|
# %f The current file (if non-local vfs, file will be copied locally and
|
||||||
|
# %f will be full path to it)
|
||||||
|
# %p The current file
|
||||||
|
# %d The current working directory
|
||||||
|
# %s "Selected files"; the tagged files if any, otherwise the current file
|
||||||
|
# %t Tagged files
|
||||||
|
# %u Tagged files (and they are untagged on return from expand_format)
|
||||||
|
# %view Runs the commands and pipes standard output to the view command
|
||||||
|
# If %view is immediately followed by '{', recognize keywords
|
||||||
|
# ascii, hex, nroff and unform
|
||||||
|
#
|
||||||
|
# If the format letter is in uppercase, it refers to the other panel
|
||||||
|
#
|
||||||
|
# With a number followed the % character you can turn quoting on (default)
|
||||||
|
# and off. For example:
|
||||||
|
# %f quote expanded macro
|
||||||
|
# %1f ditto
|
||||||
|
# %0f don't quote expanded macro
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
+ ! t t
|
||||||
|
@ Do something on the current file
|
||||||
|
CMD=%{Enter command}
|
||||||
|
$CMD %f
|
||||||
|
|
||||||
|
+ t t
|
||||||
|
@ Do something on the tagged files
|
||||||
|
CMD=%{Enter command}
|
||||||
|
for i in %t ; do
|
||||||
|
$CMD "$i"
|
||||||
|
done
|
||||||
|
|
||||||
|
0 Edit a bug report and send it to root
|
||||||
|
I=`mktemp "${MC_TMPDIR:-/tmp}/mail.XXXXXX"` || exit 1
|
||||||
|
${EDITOR-vi} "$I"
|
||||||
|
test -r "$I" && mail root < "$I"
|
||||||
|
rm -f "$I"
|
||||||
|
|
||||||
|
=+ f \.1$ | f \.3$ | f \.4$ | f \.5$ | f \.6$ | f \.7$ | f \.8$ | f \.man$ & t r
|
||||||
|
1 Display the file with roff -man
|
||||||
|
%view{ascii,nroff} roff -man %f
|
||||||
|
|
||||||
|
2 Call the info hypertext browser
|
||||||
|
info
|
||||||
|
|
||||||
|
= t d
|
||||||
|
3 Compress the current subdirectory (tar.gz)
|
||||||
|
Pwd=`basename %d /`
|
||||||
|
echo -n "Name of the compressed file (without extension) [$Pwd]: "
|
||||||
|
read tar
|
||||||
|
[ "$tar"x = x ] && tar="$Pwd"
|
||||||
|
cd .. && \
|
||||||
|
tar cf - "$Pwd" | gzip -f9 > "$tar.tar.gz" && \
|
||||||
|
echo "../$tar.tar.gz created."
|
||||||
|
|
||||||
|
4 Compress the current subdirectory (tar.bz2)
|
||||||
|
Pwd=`basename %d /`
|
||||||
|
echo -n "Name of the compressed file (without extension) [$Pwd]: "
|
||||||
|
read tar
|
||||||
|
[ "$tar"x = x ] && tar="$Pwd"
|
||||||
|
cd .. && \
|
||||||
|
tar cf - "$Pwd" | bzip2 -f > "$tar.tar.bz2" && \
|
||||||
|
echo "../$tar.tar.bz2 created."
|
||||||
|
|
||||||
|
5 Compress the current subdirectory (tar.7z)
|
||||||
|
Pwd=`basename %d /`
|
||||||
|
echo -n "Name of the compressed file (without extension) [$Pwd]: "
|
||||||
|
read tar
|
||||||
|
[ "$tar"x = x ] && tar="$Pwd"
|
||||||
|
cd .. && \
|
||||||
|
tar cf - "$Pwd" | 7za a -si "$tar.tar.7z" && \
|
||||||
|
echo "../$tar.tar.7z created."
|
||||||
|
|
||||||
|
6 Compress the current subdirectory (tar.xz)
|
||||||
|
Pwd=`basename %d /`
|
||||||
|
echo -n "Name of the compressed file (without extension) [$Pwd]: "
|
||||||
|
read tar
|
||||||
|
[ "$tar"x = x ] && tar="$Pwd"
|
||||||
|
cd .. && \
|
||||||
|
tar cf - "$Pwd" | xz -f > "$tar.tar.xz" && \
|
||||||
|
echo "../$tar.tar.xz created."
|
||||||
|
|
||||||
|
7 Compress the current subdirectory (tar.zst)
|
||||||
|
Pwd=`basename %d /`
|
||||||
|
echo -n "Name of the compressed file (without extension) [$Pwd]: "
|
||||||
|
read tar
|
||||||
|
[ "$tar"x = x ] && tar="$Pwd"
|
||||||
|
cd .. && \
|
||||||
|
tar cf - "$Pwd" | zstd -f > "$tar.tar.zst" && \
|
||||||
|
echo "../$tar.tar.zst created."
|
||||||
|
|
||||||
|
8 Compress the current subdirectory (tar.lzo)
|
||||||
|
Pwd=`basename %d /`
|
||||||
|
echo -n "Name of the compressed file (without extension) [$Pwd]: "
|
||||||
|
read tar
|
||||||
|
[ "$tar"x = x ] && tar="$Pwd"
|
||||||
|
cd .. && \
|
||||||
|
tar cf - "$Pwd" | lzop -f > "$tar.tar.lzo" && \
|
||||||
|
echo "../$tar.tar.lzo created."
|
||||||
|
|
||||||
|
= f \.c$ & t r
|
||||||
|
+ f \.c$ & t r & ! t t
|
||||||
|
c Compile and link current .c file
|
||||||
|
make "`basename %f .c`" 2>/dev/null || cc -O -o "`basename %f .c`" %f
|
||||||
|
|
||||||
|
+ t r & ! t t
|
||||||
|
a Append file to opposite
|
||||||
|
cat %f >> %D/%f
|
||||||
|
|
||||||
|
+ t t
|
||||||
|
A Append files to opposite files
|
||||||
|
for i in %t ; do
|
||||||
|
cat "$i" >> %D/"$i"
|
||||||
|
done
|
||||||
|
|
||||||
|
+ t r & ! t t
|
||||||
|
d Delete file if a copy exists in the other directory.
|
||||||
|
if [ %d = %D ]; then
|
||||||
|
echo "The two directories must be different."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if [ -f %D/%f ]; then # if two of them, then
|
||||||
|
if cmp -s %D/%f %f; then
|
||||||
|
rm %f && echo %f": DELETED."
|
||||||
|
else
|
||||||
|
echo %f" and "%D/%f" differ: NOT deleted."
|
||||||
|
echo -n "Press RETURN "
|
||||||
|
read key
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo %f": No copy in "%D/%f": NOT deleted."
|
||||||
|
fi
|
||||||
|
|
||||||
|
+ t t
|
||||||
|
D Delete tagged files if a copy exists in the other directory.
|
||||||
|
if [ %d = %D ]; then
|
||||||
|
echo "The two directories must be different."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
for i in %t ; do
|
||||||
|
if [ -f %D/"$i" ]; then
|
||||||
|
SUM1=`sum "$i"`
|
||||||
|
SUM2=`sum %D/"$i"`
|
||||||
|
if [ "$SUM1" = "$SUM2" ]; then
|
||||||
|
rm "$i" && echo "${i}: DELETED."
|
||||||
|
else
|
||||||
|
echo "$i and "%D"/$i differ: NOT deleted."
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "$i has no copy in "%D": NOT deleted."
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
m View manual page
|
||||||
|
MAN=%{Enter manual name}
|
||||||
|
%view{ascii,nroff} MANROFFOPT='' MAN_KEEP_FORMATTING=1 man -P cat "$MAN"
|
||||||
|
|
||||||
|
= f \.gz$ & t r
|
||||||
|
+ ! t t
|
||||||
|
n Inspect gzip'ed newsbatch file
|
||||||
|
dd if=%f bs=1 skip=12 | zcat | ${PAGER-more}
|
||||||
|
# assuming the cunbatch header is 12 bytes long.
|
||||||
|
|
||||||
|
= t r &
|
||||||
|
+ ! t t
|
||||||
|
h Strip headers from current newsarticle
|
||||||
|
CHECK=`awk '{print $1 ; exit}' %f` 2>/dev/null
|
||||||
|
case "$CHECK" in
|
||||||
|
Newsgroups:|Path:)
|
||||||
|
I=`mktemp "${MC_TMPDIR:-/tmp}/news.XXXXXX"` || exit 1
|
||||||
|
cp %f "$I" && sed '/^'"$CHECK"' /,/^$/d' "$I" > %f
|
||||||
|
[ "$?" = "0" ] && rm "$I"
|
||||||
|
echo %f": header removed."
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo %f" is not a news article."
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
+ t t
|
||||||
|
H Strip headers from the marked newsarticles
|
||||||
|
for i in %t ; do
|
||||||
|
CHECK=`awk '{print $1 ; exit}' "$i"` 2>/dev/null
|
||||||
|
WFILE=`mktemp "${MC_TMPDIR:-/tmp}/news.XXXXXX"` || exit 1
|
||||||
|
case "$CHECK" in
|
||||||
|
Newsgroups:|Path:)
|
||||||
|
cp "$i" "$WFILE" && sed '/^'"$CHECK"' /,/^$/d' "$WFILE" > "$i"
|
||||||
|
if [ "$?" = "0" ]; then
|
||||||
|
rm "$WFILE"; echo "$i header removed. OK."
|
||||||
|
else
|
||||||
|
echo "Oops! Please check $i against $WFILE."
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "$i skipped: Not a news article."
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
= t r
|
||||||
|
+ ! t t
|
||||||
|
r Copy file to remote host
|
||||||
|
echo -n "To which host?: "
|
||||||
|
read Host
|
||||||
|
echo -n "To which directory on $Host?: "
|
||||||
|
read Dir
|
||||||
|
rcp -p %f "${Host}:${Dir}"
|
||||||
|
|
||||||
|
+ t t
|
||||||
|
R Copy files to remote host (no error checking)
|
||||||
|
echo -n "Copy files to which host?: "
|
||||||
|
read Host
|
||||||
|
echo -n "To which directory on $Host? :"
|
||||||
|
read Dir
|
||||||
|
rcp -pr %u "${Host}:${Dir}"
|
||||||
|
|
||||||
|
= f \.tex$ & t r
|
||||||
|
+ f \.tex$ & t r & ! t t
|
||||||
|
t Run latex on file and show it with xdvi
|
||||||
|
latex %f && xdvi "`basename %f .tex`".dvi
|
||||||
|
|
||||||
|
=+ f ^part | f ^Part | f uue & t r
|
||||||
|
+ t t
|
||||||
|
U Uudecode marked news articles (needs work)
|
||||||
|
(
|
||||||
|
for i in %t ; do # strip headers
|
||||||
|
FIRST=`awk '{print $1 ; exit}' "$i"`
|
||||||
|
cat "$i" | sed '/^'"$FIRST"' /,/^$/d'
|
||||||
|
done
|
||||||
|
) | sed '/^$/d' | sed -n '/^begin 6/,/^end$/p' | uudecode
|
||||||
|
if [ "$?" != "0" ]; then
|
||||||
|
echo "Cannot decode "%t"."
|
||||||
|
fi
|
||||||
|
echo "Please test the output file before deleting anything."
|
||||||
|
|
||||||
|
=+ f \.tar\.gz$ | f \.tar\.z$ | f \.tgz$ | f \.tpz$ | f \.tar\.lz$ | f \.tar\.lz4$ | f \.tar\.lzma$ | f \.tar\.lzo$ | f \.tar\.7z$ | f \.tar\.xz$ | f \.tar\.zst | f \.tar\.Z$ | f \.tar\.bz2$ & t rl
|
||||||
|
x Extract the contents of a compressed tar file
|
||||||
|
unset PRG
|
||||||
|
case %f in
|
||||||
|
*.tar.7z) PRG="7za e -so";;
|
||||||
|
*.tar.bz2) PRG="bunzip2 -c";;
|
||||||
|
*.tar.gz|*.tar.z|*.tgz|*.tpz|*.tar.Z) PRG="gzip -dc";;
|
||||||
|
*.tar.lz) PRG="lzip -dc";;
|
||||||
|
*.tar.lz4) PRG="lz4 -dc";;
|
||||||
|
*.tar.lzma) PRG="lzma -dc";;
|
||||||
|
*.tar.lzo) PRG="lzop -dc";;
|
||||||
|
*.tar.xz) PRG="xz -dc";;
|
||||||
|
*.tar.zst) PRG="zstd -dc";;
|
||||||
|
*) exit 1;;
|
||||||
|
esac
|
||||||
|
$PRG %f | tar xvf -
|
||||||
|
|
||||||
|
= t r
|
||||||
|
+ ! t t
|
||||||
|
y Gzip or gunzip current file
|
||||||
|
unset DECOMP
|
||||||
|
case %f in
|
||||||
|
*.gz|*.[zZ]) DECOMP=-d;;
|
||||||
|
esac
|
||||||
|
# Do *not* add quotes around $DECOMP!
|
||||||
|
gzip $DECOMP -v %f
|
||||||
|
|
||||||
|
+ t t
|
||||||
|
Y Gzip or gunzip tagged files
|
||||||
|
for i in %t ; do
|
||||||
|
unset DECOMP
|
||||||
|
case "$i" in
|
||||||
|
*.gz|*.[zZ]) DECOMP=-d;;
|
||||||
|
esac
|
||||||
|
gzip $DECOMP -v "$i"
|
||||||
|
done
|
||||||
|
|
||||||
|
+ ! t t
|
||||||
|
b Bzip2 or bunzip2 current file
|
||||||
|
unset DECOMP
|
||||||
|
case %f in
|
||||||
|
*.bz2) DECOMP=-d;;
|
||||||
|
esac
|
||||||
|
bzip2 $DECOMP -v %f
|
||||||
|
|
||||||
|
+ t t
|
||||||
|
B Bzip2 or bunzip2 tagged files
|
||||||
|
for i in %t ; do
|
||||||
|
unset DECOMP
|
||||||
|
case "$i" in
|
||||||
|
*.bz2) DECOMP=-d;;
|
||||||
|
esac
|
||||||
|
bzip2 $DECOMP -v "$i"
|
||||||
|
done
|
||||||
|
|
||||||
|
+ f \.tar.gz$ | f \.tgz$ | f \.tpz$ | f \.tar.Z$ | f \.tar.z$ | f \.tar.bz2$ | f \.tar.F$ & t r & ! t t
|
||||||
|
z Extract compressed tar file to subdirectory
|
||||||
|
unset D
|
||||||
|
set gzip -cd
|
||||||
|
case %f in
|
||||||
|
*.tar.F) D=`basename %f .tar.F`; set freeze -dc;;
|
||||||
|
*.tar.Z) D=`basename %f .tar.Z`;;
|
||||||
|
*.tar.bz2) D=`basename %f .tar.bz2`; set bunzip2 -c;;
|
||||||
|
*.tar.gz) D=`basename %f .tar.gz`;;
|
||||||
|
*.tar.z) D=`basename %f .tar.z`;;
|
||||||
|
*.tgz) D=`basename %f .tgz`;;
|
||||||
|
*.tpz) D=`basename %f .tpz`;;
|
||||||
|
esac
|
||||||
|
mkdir "$D"; cd "$D" && ("$1" "$2" ../%f | tar xvf -)
|
||||||
|
|
||||||
|
+ t t
|
||||||
|
Z Extract compressed tar files to subdirectories
|
||||||
|
for i in %t ; do
|
||||||
|
set gzip -dc
|
||||||
|
unset D
|
||||||
|
case "$i" in
|
||||||
|
*.tar.F) D=`basename "$i" .tar.F`; set freeze -dc;;
|
||||||
|
*.tar.Z) D=`basename "$i" .tar.Z`;;
|
||||||
|
*.tar.bz2) D=`basename "$i" .tar.bz2`; set bunzip2 -c;;
|
||||||
|
*.tar.gz) D=`basename "$i" .tar.gz`;;
|
||||||
|
*.tar.z) D=`basename "$i" .tar.z`;;
|
||||||
|
*.tgz) D=`basename "$i" .tgz`;;
|
||||||
|
*.tpz) D=`basename "$i" .tpz`;;
|
||||||
|
esac
|
||||||
|
mkdir "$D"; (cd "$D" && "$1" "$2" "../$i" | tar xvf -)
|
||||||
|
done
|
||||||
|
|
||||||
|
+ f \.gz$ | f \.tgz$ | f \.tpz$ | f \.Z$ | f \.z$ | f \.bz2$ & t r & ! t t
|
||||||
|
c Convert gz<->bz2, tar.gz<->tar.bz2 & tgz->tar.bz2
|
||||||
|
unset D
|
||||||
|
unset EXT
|
||||||
|
case %f in
|
||||||
|
*.Z) EXT=Z;;
|
||||||
|
*.bz2) EXT=bz2;;
|
||||||
|
*.gz) EXT=gz;;
|
||||||
|
*.tgz) EXT=tgz;;
|
||||||
|
*.tpz) EXT=tpz;;
|
||||||
|
*.z) EXT=z;;
|
||||||
|
esac
|
||||||
|
case "$EXT" in
|
||||||
|
bz2|Z|gz|z) D=`basename %f ."$EXT"`;;
|
||||||
|
tgz|tpz) D=`basename %f ."$EXT"`.tar;;
|
||||||
|
esac
|
||||||
|
if [ "$EXT" = "bz2" ]; then
|
||||||
|
bunzip2 -v %f
|
||||||
|
gzip -f9 -v "$D"
|
||||||
|
else
|
||||||
|
gunzip -v %f
|
||||||
|
bzip2 -v "$D"
|
||||||
|
fi
|
||||||
|
|
||||||
|
+ t t
|
||||||
|
C Convert gz<->bz2, tar.gz<->tar.bz2 & tgz->tar.bz2
|
||||||
|
for i in %t ; do
|
||||||
|
unset D
|
||||||
|
unset EXT
|
||||||
|
case "$i" in
|
||||||
|
*.Z) EXT=Z;;
|
||||||
|
*.bz2) EXT=bz2;;
|
||||||
|
*.gz) EXT=gz;;
|
||||||
|
*.tgz) EXT=tgz;;
|
||||||
|
*.tpz) EXT=tpz;;
|
||||||
|
*.z) EXT=z;;
|
||||||
|
esac
|
||||||
|
case "$EXT" in
|
||||||
|
bz2|Z|gz|z) D=`basename "$i" ."$EXT"`;;
|
||||||
|
tgz|tpz) D=`basename "$i" ."$EXT"`.tar;;
|
||||||
|
esac
|
||||||
|
if [ "$EXT" = "bz2" ]; then
|
||||||
|
bunzip2 -v "$i"
|
||||||
|
gzip -f9 -v "$D"
|
||||||
|
else
|
||||||
|
gunzip -v "$i"
|
||||||
|
bzip2 -v "$D"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
+ x /usr/bin/open | x /usr/local/bin/open & x /bin/sh
|
||||||
|
o Open next a free console
|
||||||
|
open -s -- sh
|
||||||
+27
@@ -0,0 +1,27 @@
|
|||||||
|
[New Left Panel]
|
||||||
|
display=listing
|
||||||
|
reverse=false
|
||||||
|
case_sensitive=true
|
||||||
|
exec_first=false
|
||||||
|
sort_order=name
|
||||||
|
list_mode=full
|
||||||
|
brief_cols=2
|
||||||
|
user_mini_status=false
|
||||||
|
filter_flags=7
|
||||||
|
list_format=full
|
||||||
|
|
||||||
|
[New Right Panel]
|
||||||
|
display=listing
|
||||||
|
reverse=false
|
||||||
|
case_sensitive=true
|
||||||
|
exec_first=false
|
||||||
|
sort_order=name
|
||||||
|
list_mode=full
|
||||||
|
brief_cols=2
|
||||||
|
user_mini_status=false
|
||||||
|
filter_flags=7
|
||||||
|
list_format=full
|
||||||
|
|
||||||
|
[Dirs]
|
||||||
|
current_is_left=true
|
||||||
|
other_dir=/Users/mzpx/.config
|
||||||
Reference in New Issue
Block a user