CPIO archives

Nathan Aubrey nathan at paysonlinux.org
Thu Jul 5 12:37:22 MST 2007


On Thursday 05 July 2007 12:13:15 pm you wrote:
> In article <200707051146.41406.nathan at paysonlinux.org> 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


More information about the PLUG-discuss mailing list