delete option

Manuel Kissoyan manuelk at
Sun Nov 26 23:00:24 GMT 2006

Sorry...i forgot the is the info...

im running:

rsync -vrplogDtzH --stats --delete-during --partial --timeout=500 --exclude-from=/root/rsyncexcludedfiles 

and the includedfiles list have some wildecards but the files that has not 
been deleted wasnt in the wildcard path...


i mean, i have a directory with files into the /home so there isnt a 
wildecard and rsync havent deleted it.


----- Original Message ----- 

> 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.
> ..wayne..

More information about the rsync mailing list