Summary: Option --recursive fails if followed by another option
AssignedTo: [hidden email] ReportedBy: [hidden email] QAContact: [hidden email]
I am using rsync 3.0.9 protocol version 30 from the cygwin package
rsync-3.0.9-1 under Windows 7.
$ cd /tmp
$ mkdir c d
$ rsync --recursive –-verbose c d
rsync: link_stat "/tmp/–-verbose" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code
23) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/main.c(1052)
$ rsync --verbose --recursive c d
sending incremental file list
sent 32 bytes received 13 bytes 90.00 bytes/sec
total size is 0 speedup is 0.00
Obviously "--verbose" is interpreted as a file name in the first example. If
this is intended, then this behavior needs to be documented on the man page. If
this is a compile mistake on cygwin's part, I'll be happy to report it there.
--- Comment #1 from Kevin Korb <[hidden email]> 2012-03-31 02:34:31 UTC ---
Please verify that you actually used --verbose. One of the dashes in your post
is not a dash character. This may have been a paste error but it seems likely
to be the problem.