delete option

Wayne Davison wayned at
Sun Nov 26 14:47:21 GMT 2006

On Sat, Nov 25, 2006 at 02:14:39PM -0300, Manuel Kissoyan wrote:
> if in the sender side server i delete a directory with files and
> directories into it after run rsync is not removing that
> directory/files on the receiver side.

I can only guess here since you don't supply any details of your run,
but this is usually caused by someone using a wildcard (for example,
"rsync -av --del /src/* host:/dest"), which does not send the src
directory, and therefore no deletions can occur inside it.  Just drop
the wildcard (leaving the trailing slash) if that is the case.

> btw: all the delete options is only to delete the receiver side? i mean 
> using them will not delete the sender side?

That's right.  The --remove-* options affect the sending side, and the
--delete-* options the receiving side.


More information about the rsync mailing list