bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] how to change absolute paths in tar


From: address@hidden
Subject: [Bug-tar] how to change absolute paths in tar
Date: Mon, 18 Apr 2005 13:19:43 -0700 (PDT)

I need to create a tarfile that will be untarred using
tar's P option (absolute paths), but the absolute
directory that I archiving is not the same as the
absolute directory I want tar to extract into.

For example, I want to archive /home/dir1/dir2, but
have it extract into /home/dir2.

I can't use relative paths because the users' already
have the script that contains the tar extract command
(tar xvzpPf...)

Any ideas?


                
__________________________________ 
Do you Yahoo!? 
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide




reply via email to

[Prev in Thread] Current Thread [Next in Thread]