Mike,
Might set up a link
mkdir /mydir
ln -s /mydir dir1
then fire up tar
Not exactly what you want, but pretty cheap!
> ------------------------------
>
> Date: Wed, 01 Dec 2004 22:26:04 -0900
> From: Barsalou <barjunk@attglobal.net>
> Subject: tar and directories
>
> if a tar file has directories like this:
>
> dir1/dir2/file1
> dir1/dir2/dir3/file2
> dir1/file3
>
> And I want to change 'dir1' into 'mydir'. Can I do that using a tar
> option switch or do I have to use trickery. I looked at the man page,
> but nothing obvious popped out at me.
>
> Thanks.
>
> Mike B.
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Sun Dec 5 08:47:16 2004
This archive was generated by hypermail 2.1.8 : Sun Dec 05 2004 - 08:47:16 AKST