From a98e73504fd11c1905e8bda30ba793cfd2758eb1 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Wed, 6 Jun 2012 14:35:58 +0400 Subject: [PATCH] do not follow symlinks for rar-archives --- functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.sh b/functions.sh index 12382d0..447d525 100755 --- a/functions.sh +++ b/functions.sh @@ -50,7 +50,7 @@ pk () { || bzip2 -9 -k $2 ;; g*z) gzip -c -9 -n $2 > $2.gz || rm -f $2.gz ;; x*z) xz -k -9 $2 ;; - rar) rar a $2.rar $2 -m5 ;; + rar) rar a $2.rar $2 -m5 -ol ;; zip) zip -9 --symlinks -r $2.zip $2 ;; #Z) ;; 7z) 7z -mx=9 a $2.7z $2 ;;