If I want to restore a tar archive to its original location, don't I have to use the absolute pathname when creating the archive, such as:
As apposed to:Code:tar cvzf backup.tar.gz /home/john
The first would extract to its original location when I extract it while the second would extract to whichever directory the tarball is in - that correct? Thanks.Code:cd /home/john tar cvzf backup.tar.gz .
Bookmarks