On Monday 09 May 2005 11:31 am, Andrew Lentvorski wrote: > I tend to use rsync to do wholesale copies like that nowadays: > > rsync -av /mnt/hda1/ /mnt/hdb1/ > > There are some other flags you can give rsync to preserve things like > sparse files and hard links which cp is not aware of.
Adding a -H to the options will take care of hard links (use it frequently in things like backups) and -S will force it to recognize and handle sparse files in an intelligent manner (often necessary to deal with some database stores). Gregory -- Gregory K. Ruiz-Ade <[EMAIL PROTECTED]> OpenPGP Key ID: EAF4844B keyserver: pgpkeys.mit.edu
pgpkUNv0AT7mp.pgp
Description: PGP signature
-- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
