Re: Possible bug that deletes all data in cwd except dst

2024-10-29 Thread Markus Niemi via rsync
alright, makes sense now thanks for the information On Tue, Oct 29, 2024, at 21:32, Robin Lee Powell wrote: > --exclude takes an argument, so "--exclude --exclude ." means > "exclude files named --exclude, followed by . as a bare argument". > > So this is equivalent to: rsync -avh src dst . > >

Possible bug that deletes all data in cwd except dst

2024-10-29 Thread Markus Niemi via rsync
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 avo