Re: CPIO archives

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nathan Aubrey
Date:  
To: Main PLUG discussion list
Subject: Re: CPIO archives
On Thursday 05 July 2007 12:13:15 pm you wrote:
> In article <> you write:
> > All,
> >
> > <dunce cap on>
> >
> > I have a cpio archive that I am trying to extract. I would like to dump
> > the entire archive, change some files then re-create the archive. But
> > everytime I try to extract the archive it over-writes files in my /
> > directory tree... very bad!
> >
> > cpio -i < archive.cpio
> >
> > How do I extract it and force it to a specific tree?
>
>     mkdir tmpdir
>     cd tmpdir
>     cpio -i --no-absolute-filenames < ../archive.cpio

>
> -Dale


That is why I love this group.
Thank you Dale! That worked!

Now I can edit the files I want, and hopefully get them back into the archive!
I think I know how to do that part...

--



01001010 01100101 01110011 01110101 01110011
01010011 01100001 01110110 01100101 01110011
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss