From: Oleg Broytman Date: Wed, 25 Feb 2015 06:05:33 +0000 (+0300) Subject: .mc/menu: preserve attributes on untarring X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=ad3cdd3c1c1633937a11710770e016d5cbdda665;p=dotfiles.git .mc/menu: preserve attributes on untarring --- diff --git a/.mc/menu b/.mc/menu index a97f26c..f549ae4 100644 --- a/.mc/menu +++ b/.mc/menu @@ -358,7 +358,7 @@ x Extract the contents of a compressed tar file exit 1 ;; esac - $PRG %f | tar xvf - + $PRG %f | tar xvpf - + F \.tar\.gz$ | F \.tar\.z$ | F \.tgz$ | F \.tpz$ | F \.tar\.lz$ | F \.tar\.lzma$ | F \.tar\.7z$ | F \.tar\.xz$ | F \.tar\.Z$ | F \.tar\.bz2$ & T r X Extract the contents of an other compressed tar file @@ -386,7 +386,7 @@ X Extract the contents of an other compressed tar file exit 1 ;; esac - $PRG %D/%F | tar xvf - + $PRG %D/%F | tar xvpf - + f \.(bz2|gz|lz|lzma|7z|xz|tar|zip|ZIP|rar|RAR)$ & t r x Extract a compressed file