vifm: fixed compress script and added it to vifm

master
tiyn 1 year ago
parent a6402bc0b6
commit 46649c2ac8

@ -0,0 +1 @@
../../tools/compress

@ -2,7 +2,7 @@
if [ -e $1 ] ; then if [ -e $1 ] ; then
case $2 in case $2 in
7z) 7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on $1.7z ;; 7z) 7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on $1.7z $1 ;;
*) echo "don't know how to compress '$1' in '$2'..." ;; *) echo "don't know how to compress '$1' in '$2'..." ;;
esac esac
else else

Loading…
Cancel
Save