Batch mode and remote host problem

cdlscpmv cdlscpmv at
Wed Jan 21 13:12:01 MST 2015

Hello, everyone!

It seems that I've encountered a bug in rsync (or maybe it is just
a feature?). When I run rsync on my machine with --only-write-batch and
--delete options, rsync actually deletes files on my remote machine (connected
via ssh). When I do the same thing with a local directory instead of the remote
host, deletion doesn't occur. Version of rsync is 3.1.1.

Such behavior seems inconsistent to me. What do you think?

More information about the rsync mailing list