Keeping File Trees in Sync

Wayne Davison wayned at samba.org
Wed Nov 17 17:27:59 GMT 2004


On Fri, Nov 12, 2004 at 12:13:39PM +0100, David E. Meier wrote:
> However, using the --delete option does not work as expected or at
> least as I whish it would.

Your error report was too abbreviated:  you mentioned copying /data, yet
none of the directories you mentioned being on the source machine were
relative to /data.

> I assume the --delete option only checks within the include paths
> specified.

No.  Rsync does not delete (by default) excluded items, but all items
are included by default, so unless you have an exclude='*' you didn't
mention, that is not the problem.

..wayne..


More information about the rsync mailing list