delete option

Matt McCutchen hashproduct+rsync at gmail.com
Mon Nov 27 03:05:28 GMT 2006


Manuel Kissoyan wrote:
> rsync -vrplogDtzH --stats --delete-during --partial --timeout=500
> --exclude-from=/root/rsyncexcludedfiles
> --files-from=/root/rsyncincludedfiles..........
> 
> and the includedfiles list have some wildecards but the files that has not 
> been deleted wasnt in the wildcard path...
> 
> /etc/*named*
> /home
> 
> i mean, i have a directory with files into the /home so there isnt a 
> wildecard and rsync havent deleted it.

Does your exclude file list the files you deleted from the sender?  If
so, the receiver won't delete its copies because exclude rules also
prevent deletion; you might want to use --delete-excluded.  If not, I
recommend running rsync in double-verbose mode (-vv) to get more
information about why the receiver isn't deleting the files.

Matt



More information about the rsync mailing list