also sprach Courtney Thomas <[EMAIL PROTECTED]> [2002.01.06.0200 +0100]: > I've just installed a new HD. What do I need to do to prepare it for use > with rsync ? > > What command is appropriate to exactly mirror the original HD ?
assuming mount-points /new and /old, rsync will mirror like this: rsync -avutP --delete --delete-after /old/ /new you can leave the -v and -P options out if you wish (less verbose). take care to postfix the /old with a slash, but *not* to have one after /new. man rsync will explain this - it has to do with the --delete flag. > I've also not used SSH before. What is required to enable this capability ? assuming the other harddrive was on another machine called "newhdd", you'd use rsync tunneled over SSH like this: rsync -avutP -e ssh --delete --delete-after /old/ newhdd:/new hth -- martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" [EMAIL PROTECTED] "it appears that pl/i (and its dialects) is, or will be, the most widely used higher level language for systems programming." -- j. sammet
pgpon48Lk42r2.pgp
Description: PGP signature