tar cpzfP $DESDIR/$FILENAME $SRCDIR

to avoid "tar: Removing leading `/' from member names" try this:
tar cpzfP $DESDIR/$FILENAME $SRCDIR

Comments

Popular posts from this blog

HAproxy logging

teamcity Automatic Agent Start under Linux

15 managing disk - understanding /etc/fstab xfs_admin mount -o rw,remount /