CPIO archives
Dale Farnsworth
dale at farnsworth.org
Thu Jul 5 12:13:15 MST 2007
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
More information about the PLUG-discuss
mailing list