In article <[EMAIL PROTECTED]> 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
---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Reply via email to