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 .
>
>
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