Adding symlink style "lrzuntar" support.

This commit is contained in:
George Makrydakis 2010-04-03 11:42:12 +03:00
parent 7c86442d38
commit cd1a1bd880

1
lrztar
View file

@ -20,6 +20,7 @@ function lrztar_local() {
[[ $x == [otV] ]] || ((v_$x=1)) &> /dev/null \
|| { printf "lrztar: invalid option for lrztar %s\n" "$x"; return 1; }
done
[[ $(basename "$0") == lrzuntar ]] && { v_d=1; p="-d $p"; }
{ ! (($#)) || ((v_h)); } && {
printf "lrztar wrapper for compressing/decompressing whole directories with lrzip.\n"
printf "usage: lrztar [lrzip options] <directory> will compress directory to directory.tar.lrz\n"