[Ilugc] How to use cpio command
- From: psmanohar@xxxxxxxxxxxxxxx (P.S. Manohar)
- Date: Mon, 8 Jul 2002 10:51:23 +0530
I downloaded oracle 9i for linux, which is in cpio format. I initially had
problems in extracting those. Later from Basker's solution i got those
files extracted. But still i'm having some basic doubts on cpio formats and
its difference with tar.
From: pandarinathan raman [mailto:raamanp@xxxxxxxxxxx]
Sent: Monday, July 08, 2002 10:43 AM
To: P BASKER; P.S. Manohar
Subject: Re: [Ilugc] How to use cpio command
--- P BASKER <basker@xxxxxxxxxxxx> wrote: >
cpio --extract --make-directories < file.cpio
Anyone knows where cpio is generally used instead of
tar? (Apart from
CPIO is pretty powerful when combined with find
find / -mtime -1 -print|cpio -o>/dev/fd0
It is very useful for incremental backup.With sed or
awk we can do backup effectively in a large setup.
Also it can continue on another device when full
i.e multiple floppies or tapes, even combination of
It can accept files to be copied from stdin.
Thus if we create a file say f1 containing filenames
found under different directories, using cpio we can
an archive of all these files.
cpio -o >archivefile <f1
Want to sell your car? advertise on Yahoo Autos Classifieds. It's Free!!
Other related posts: