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.

--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to