--- what programming language do you plan to use, dos batch, powershell, python or what?
--- can you post a detailed example of such a command?
--- how many machines?
2022/09/02 14:05:24 DEBUG : rclone: Version "v1.59.1" starting with parameters ["rclone.exe" "copy" "c:\test" "\\COMPUTERNAME\C$" "--ignore-size" "--ignore-checksum" "--progress" "--log-file=c:\rclone\logs\rclone.log" "--log-level=DEBUG"]
2022/09/02 14:05:24 DEBUG : Creating backend with remote "c:\test"
2022/09/02 14:05:24 DEBUG : Using config file from "C:\Users\wadewizard\AppData\Roaming\rclone\rclone.conf"
2022/09/02 14:05:24 DEBUG : fs cache: renaming cache item "c:\test" to be canonical "//?/c:/test"
2022/09/02 14:05:24 DEBUG : Creating backend with remote "\\COMPUTERNAME\C$"
2022/09/02 14:05:26 DEBUG : fs cache: renaming cache item "\\COMPUTERNAME\C$" to be canonical "//?/UNC/COMPUTERNAME/C$"
2022/09/02 14:05:26 DEBUG : Local file system at //?/UNC/COMPUTERNAME/C$: Waiting for checks to finish
2022/09/02 14:05:26 DEBUG : Local file system at //?/UNC/COMPUTERNAME/C$: Waiting for transfers to finish
2022/09/02 14:05:26 ERROR : FILETOCOPY.exe: Failed to copy: mkdir \?\UNC: The filename, directory name, or volume label syntax is incorrect.
2022/09/02 14:05:26 ERROR : Attempt 1/3 failed with 1 errors and: mkdir \?\UNC: The filename, directory name, or volume label syntax is incorrect.
2022/09/02 14:05:26 DEBUG : Local file system at //?/UNC/COMPUTERNAME/C$: Waiting for checks to finish
2022/09/02 14:05:26 DEBUG : Local file system at //?/UNC/COMPUTERNAME/C$: Waiting for transfers to finish
2022/09/02 14:05:26 ERROR : FILETOCOPY.exe: Failed to copy: mkdir \?\UNC: The filename, directory name, or volume label syntax is incorrect.
2022/09/02 14:05:26 ERROR : Attempt 2/3 failed with 1 errors and: mkdir \?\UNC: The filename, directory name, or volume label syntax is incorrect.
2022/09/02 14:05:26 DEBUG : Local file system at //?/UNC/COMPUTERNAME/C$: Waiting for checks to finish
2022/09/02 14:05:26 DEBUG : Local file system at //?/UNC/COMPUTERNAME/C$: Waiting for transfers to finish
2022/09/02 14:05:26 ERROR : FILETOCOPY.exe: Failed to copy: mkdir \?\UNC: The filename, directory name, or volume label syntax is incorrect.
2022/09/02 14:05:26 ERROR : Attempt 3/3 failed with 1 errors and: mkdir \?\UNC: The filename, directory name, or volume label syntax is incorrect.
2022/09/02 14:05:26 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 2.4s
2022/09/02 14:05:26 DEBUG : 3 go routines active
2022/09/02 14:05:26 Failed to copy: mkdir \?\UNC: The filename, directory name, or volume label syntax is incorrect.
OH, that was just me replacing the information with a generic naming. It is definitely grabbing the correct computer name and displaying it in the logs. I just changed the computer name and the file name for uploading to the web.
That was what I assumed, but my thinking was the error "Failed to copy: mkdir \?\UNC: The filename, directory name, or volume label syntax is incorrect.", I could reproduce that with something like rclone copy dir \\example.com\X$ -vv.