--delete not working => +filtering disable delete!

Sylvain Viart sylvain.viart at easyrencontre.com
Mon Sep 24 14:07:54 GMT 2007


Hi,

Sylvain Viart a écrit :
> rsync -rtlv  --exclude='.svn/**' --exclude=.svn --delete preprod/  
> rsync://remote-host/deploiement/preprod/
>
> the --dry-run gives me some file to delete.
>
> but when I run the command without --dry-run, nothing is deleted?

I think I've it.

The remote folder in the deletion list contains .svn subfolder from 
previous rsync without filtering.

remote-host:/data/one_tree/preprod# find . -name .svn -type d | xargs rm -rf

hehe, much better.

why rsync doesn't complain about it can't remove no empty folder of 
something?

Regards,
Sylvain.



More information about the rsync mailing list