cancel
Showing results for 
Search instead for 
Did you mean: 

tar command

jousif
Frequent Advisor

tar command

Hi Admins,
how can I do:
extract tar files written with absolute filenames to a different location.
please advise.
many thanks to all.
2 REPLIES
Michael Schulte zur Sur
Honored Contributor

Re: tar command

Hi,

you can advise tar to use a relative path with the s option during extract.
It then uses the rest of the path without the leading /
So do a cd to a place where it does not matter to create the directory structure.

greetings,

Michael
jousif
Frequent Advisor

Re: tar command

Hi Michael,
many many thanks for your advise.
I try option s with tar it work okkkk.
thanks.