Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
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.