tar -cvfh somedirectory.tar somedirectory/
Note 1: -h allows tar to follow symlink
Note 2: it seems trying to gzip it with -z flag doesn't work when invoking -h
Note 3: This assumes there are symlinks under somedirectory/
tar -cvfh somedirectory.tar somedirectory/
0 comments:
Post a Comment