]> git.phdru.name Git - dotfiles.git/blobdiff - .mc/menu
mc.menu: use 7zr
[dotfiles.git] / .mc / menu
index 95cf0cd555854476436af9b90a9150692cc75234..b48ec64a04bea459e7a20aaa444f20d98381f4c4 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -248,27 +248,27 @@ y  Compress the current subdirectory to zip with recoded filenames
    echo ../"$zip".zip created.
 
 + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$
-z  bzip2 the file/directory
+z  bzip2 the file
    exec bzip2 -9 %f.bz2 %f
 
 + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$
-z  gzip the file/directory
+z  gzip the file
    exec gzip -9 %f
 
 + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$
-z  lzip the file/directory
+z  lzip the file
    exec lzip -9 %f
 
 + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$
-z  lzma the file/directory
+z  lzma the file
    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
+   exec 7zr a %f
 
 + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$
-z  xz the file/directory
+z  xz the file
    exec xz -9 %f
 
 + ! f \.bz2$ & ! f \.gz$ & ! f \.lz$ & ! f \.lzma$ & ! f \.7z$ & ! f \.xz$ & ! f \.(zip|ZIP)$
@@ -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"