Re: rsync

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

 




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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux