[Ilugc] How to use cpio command
- From: raamanp@xxxxxxxxxxx (pandarinathan raman)
- Date: Mon, 8 Jul 2002 06:12:36 +0100 (BST)
--- 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: