[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Syncing Directories



[ CC: fedora-list, in case others are having similar troubles.]

Kostas Sfakiotakis wrote:
> Assume that we have two directories on the very same host .
one is
 /home/root/sources/ and the other one
/mnt/OldDisk/root/sources

and we want to sync those two .

Are you suggesting that

rsync /home/root/sources   localhost:/mnt/OldDisk/root/sources/

will do what we want ?

Pretty much. :)

I use the following:
$ rsync --archive --delete --sparse --stats /path/to/source /path/to/destination

Take a look at the rsync(1) man page for more information about its options and parameters:
$ man 1 rsync

Hope that helps.
--
Peter Gordon (codergeek42)
GnuPG Public Key ID: 0xFFC19479 / Fingerprint:
  DD68 A414 56BD 6368 D957 9666 4268 CB7A FFC1 9479

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]