HOw can I create a tar file with relative paths
find . -depth -print | xargs tar -cvf /tmp/file.tar
?
Thanks to all who answer
HOw can I create a tar file with relative paths
find . -depth -print | xargs tar -cvf /tmp/file.tar
?
Thanks to all who answer
just use:
tar cvf /tmp/file.tar .