Re: tar and directories

From: Jacob Ward <mondayak@gmail.com>
Date: Thu Dec 02 2004 - 20:25:47 AKST

yeah, i would've just untared it, renamed it, and retard it...retared it.

JP

On Thu, 2 Dec 2004 02:30:47 -0800, Piet van Weel <pmvw@earthlink.net> wrote:
> That's a great question!
>
> I've never thought about it..
> I'm assuming you want it to stay in the tarball...
>
> I think the only option to modify the internal structure is to use mc.
> If I remember right you can modify nearly everything about a tar file from
> there.
>
> Or you could just extract everything...
> mv dir1 mydir
>
> and then re-tar it.
>
> Piet
>
>
> >> 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.
>
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
>

-- 
(907)-248-4228
First he made hangovers, now half women half sharks who won't even
sleep with me, thanks for nothing God!
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Thu Dec 2 20:25:47 2004

This archive was generated by hypermail 2.1.8 : Thu Dec 02 2004 - 20:25:47 AKST