> Logically, this is correct behaviour, I think. > > dump/* is a wildcard that matches every _existing_ local file in the > dump/ directory. Since the file you deleted doesn't exist, it isn't > considered by rsync. > > dump/ tells rsync to compare the contents of the local dump/ directory > with those of the remote one and, in your case, will delete on the > remote host any files that don't exist locally. > > Disclaimer: I haven't used --delete myself, so I could be wrong.
Yes your statement sounds logic. But the use of --delete is stated as being: "delete files that don't exist on the sending side" Which I assume means those on the remote side. Since it isn't deleting the file on the remote side then rsync is a touch broken. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html