On 9/24/07, Sylvain Viart <[EMAIL PROTECTED]> wrote: > from the source host I do : > > 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 bet the discrepancy has to do with your exclude filter. The --exclude=.svn tells the receiver never to delete a file named .svn, so it does not delete such a file's parent directories either, even if they are extraneous. Deletions of parent directories are neither itemized nor performed on a real run, but unfortunately, rsync 2.6.9 and earlier incorrectly itemize them on a dry run. For more information see: https://bugzilla.samba.org/show_bug.cgi?id=3825 If this isn't your situation, give me some more information and I'll try and figure out what the problem is. Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html