From: Oleg Broytman Date: Sat, 17 Jan 2015 18:34:24 +0000 (+0300) Subject: mc.menu: fix a bug - no need to name the archive X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=62dfd5b539975739d98f16614b94ad77a71e974f;p=dotfiles.git mc.menu: fix a bug - no need to name the archive --- diff --git a/.mc/menu b/.mc/menu index 1161ca1..78d4a8f 100644 --- a/.mc/menu +++ b/.mc/menu @@ -253,23 +253,23 @@ z bzip2 the file/directory + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ z gzip the file/directory - exec gzip -9 %f.gz %f + exec gzip -9 %f + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ z lzip the file/directory - exec lzip -9 %f.lz %f + exec lzip -9 %f + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ z lzma the file/directory - exec lzma -9 %f.lzma %f + exec lzma -9 %f + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ z 7z the file/directory - exec 7z -9 %f.7z %f + exec 7z -9 %f + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ z xz the file/directory - exec xz -9 %f.xz %f + exec xz -9 %f + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ z zip the file/directory