1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-26 04:57:45 +01:00

vifm: fixed compress script and added it to vifm

This commit is contained in:
tiyn 2023-11-12 15:11:42 +01:00
parent a6402bc0b6
commit 46649c2ac8
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -2,7 +2,7 @@
if [ -e $1 ] ; then
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'..." ;;
esac
else