rsync

Satish Balay balay at fastmail.fm
Thu Sep 2 03:27:46 UTC 2004



On Thu, 2 Sep 2004, Michael Hart wrote:

> I have been using rsync for backup from FC2 to and from windows machines.
> 
> I am wondering if anyone knows of a package that works exactly like rsync
> (i.e. command line - so can be made a cron job and is easy to set up) but also
> deletes files from the destination that are not present on the source
> directory.  Preferabley it would need to be a FC2 rpm.

???

rsync --delete

>From the man page:

            --delete                delete files that don't exist on the sending side
            --delete-excluded       also delete excluded files on the receiving side
            --delete-after          delete after transferring, not before

Satish





More information about the fedora-list mailing list