Greg's how to do things with rsync
Greg's diary
Greg's home page
HOWTO index
Google

rsync is a very powerful program, but it contains a maze of twisty little options, all different, and sometimes I find I've messed things up long after it happened. I'm writing down typical incantations here.

Cloning file systems

cd oldfs
rsync -Hav * /newfs >/tmp/foo

Don't use -L here; it will create additional files from symlinks.


Greg's home page Greg's diary Greg's photos Copyright

Valid XHTML 1.0!

$Id: rsync.php,v 1.1 2010/03/20 06:08:57 grog Exp $