Cpio
From Wsms
Note: This page should be titled cpio (all lowercase). It is Cpio due to technical limitations of Mediawiki.
cpio is a backup utility.
[edit]
Tips
To copy an entire partition to a new one
cd /mnt/share0 find ./ -xdev -print0 | cpio -pa0V /mnt/hdb1
See Knoppix hacks, #61, p 191
cpio
-p Run in copy-pass mode (i.e. list of files on stdin) -a Reset the access times of files after reading them -0 Read a list of filenames terminated by a null character -V Print a "." for each file processed.
The new directories have today's date/time, but the files therein have the timestamp of the original. I think it is always easier to use rsync.
[edit]
see also
Knoppix Hacks page , #61, p 191
man cpio
rsync
Linux_commands
