![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re^2: Archive:Tar appears to store absolute pathnames as relative pathnamesby Anonymous Monk |
on Apr 20, 2011 at 14:05 UTC ( #900346=note: print w/replies, xml ) | Need Help?? |
You can also compress using the -C option, to change to that directory, and then you will have relatives paths.
for example:
/home/users/you/dir
I can compress using:
tar -czf example.tar.gz -C /home/users/you dir
And you will get a tar with the directory dir.
In Section
Seekers of Perl Wisdom
|
|