Re: CPIO archives

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Dale Farnsworth
Date:  
To: nathan, PLUG-discuss
Subject: Re: CPIO archives
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
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss