From 76ab603318946804970df9407abc4df922fbbef8 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 17 Jan 2015 21:44:05 +0300 Subject: [PATCH] mc.menu: use 7zr --- .mc/menu | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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" -- 2.39.2