From: Oleg Broytman Date: Sat, 17 Jan 2015 18:44:05 +0000 (+0300) Subject: mc.menu: use 7zr X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=76ab603318946804970df9407abc4df922fbbef8;p=dotfiles.git mc.menu: use 7zr --- diff --git a/.mc/menu b/.mc/menu index 660f475..b48ec64 100644 --- a/.mc/menu +++ b/.mc/menu @@ -265,7 +265,7 @@ z lzma the file + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ z 7z the file/directory - exec 7z -9 %f + exec 7zr a %f + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$ z xz the file @@ -330,7 +330,7 @@ x Extract a compressed file *.gz) P="gzip -d";; *.lz) P="lzip -d";; *.lzma) P="lzma -d";; - *.7z) P="7z -d";; + *.7z) P="7zr x";; *.xz) P="xz -d";; *.tar) P="tar xvpf";; *.zip|*.ZIP) P="uzip";; @@ -345,8 +345,8 @@ x Extract another compressed file *.gz) P="gzip -cd";; *.lz) P="lzip -cd";; *.lzma) P="lzma -cd";; - *.7z) P="7z -cd";; *.xz) P="xz -cd";; + *.7z) P="7zr x";; *.tar) P="tar xvpf";; *.zip|*.ZIP) P="uzip";; *.rar|*.RAR) P="rar x -y";; @@ -370,7 +370,7 @@ x Extract the contents of a compressed tar file PRG="lzma -dc" ;; *.tar.7z) - PRG="7za e -so" + PRG="7zr e -so" ;; *.tar.xz) PRG="xz -dc" @@ -398,7 +398,7 @@ X Extract the contents of an other compressed tar file PRG="lzma -dc" ;; *.tar.7z) - PRG="7za e -so" + PRG="7zr e -so" ;; *.tar.xz) PRG="xz -dc"