Я отримую повідомлення про помилку з rsync.exe про те, що каталог не знайдено, хоча він і існує. Я називаю це через C #
Ось мій виклик rsync і помилка
rsync.exe -rtvv --modify-window=2 --exclude=aw.ini --exclude=sync.log --exclude=.rs-temp --force --temp-dir="//ni.domain/netlogon/logs/admin2/cont/.rs-temp/" "/cygdrive/C/Users/admin2/Desktop/" "//ni.domain/netlogon/logs/admin2/cont/" >"//ni.domain/netlogon/logs/admin2/cont/sync.log" 2>&1
exitCode : 23
standardOutput : sending incremental file list
[sender] hiding directory .rs-temp because of pattern .rs-temp
[sender] hiding file aw.ini because of pattern aw.ini
removing duplicate name . from file list (2)
created directory 2>&1
delta-transmission disabled for local transfer or --whole-file
./
total: matches=0 hash_hits=0 false_alarms=0 data=0
sent 43 bytes received 15 bytes 116.00 bytes/sec
total size is 0 speedup is 0.00
standardError : rsync: change_dir "/cygdrive/c/Windows/>//ni.domain/netlogon/logs/admin2/cont" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at /home/lapo/packaging/rsync-3.0.7-1/src/rsync-3.0.7/main.c(1042) [sender=3.0.7]
2>&1