I'm trying to use cwRsync, version 3.2.3 protocol version 31, on a fully patched Windows 7 Professional 64 Bit machine to copy files to a FreeNAS running FreeBSD 11.3-RELEASE-p14. The command I'm using is:
rsync -avhe "./ssh -i C:\Users\Andrew\Downloads\rsync\cwRsync\6v2.1\bin\Andrew_Laptop" --exclude 'Thumbs.db' --delete /cygdrive/C/Users/Andrew/Documents andrew@192.168.1.240:/mnt/FreeNAS_1/backup/Andrew/Laptop/Documents
and it works for most of the the files, about 12,000. The command is called from a batch file, output 2>&1 to an activity log file. On checking the activity log there are a lot of messages thus:
rsync: mkstemp "/mnt/FreeNAS_1/backup/Andrew/Laptop/Documents/Documents .cc_20171013_092617.reg.LvUTpY" failed: Operation not permitted (1)
about 6,000 of these.
It turns out that all the files that have failed have a full stop "." prepended to the front of the filename in the failure message and random numbers appended after, as per above ".cc_20171013_092617.reg.LvUTpY"
. The Source filename is "cc_20171013_092617.reg"
. The files also do not exist in the Destination folder of the NAS.
Any ideas please?