Possible bug that deletes all data in cwd except dst

Markus Niemi via rsync <[email protected]> Tue, 29 Oct 2024 20:30:31 +0200
Newsgroups gmane.network.rsync.general
Message-ID <[email protected]>
Hello,
Came across the following "sudo rsync -avh src/ dst --delete --exclude --exclude ." this will apparently delete everything in the current dir except for the dst dir, is this a bug?

rsync  version 3.2.7  protocol version 31

Best regards
Mark

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html