I must be missing something simple here that I'm not understanding, I'm getting a file not found error when running from my powershell script but from within the powershell console it seemingly returns fine.
2021/10/28 17:59:49.601303 DEBUG : rclone: Version "v1.56.2" starting with parameters ["C:\\Program Files (x86)\\rclone\\rclone.exe" "copy" "remote:My Pictures/Tony/Automatic Upload/Tony’s iPhone/2021-10-27 20-01-41.mov" "C:\\Users\\Tony\\Pictures" "--no-traverse" "--log-file=P:\\scripts\\log_prod_copy.txt" "--log-level" "DEBUG" "--log-format" "date,time,microseconds"]
2021/10/28 17:59:49.601303 DEBUG : Creating backend with remote "remote:My Pictures/Tony/Automatic Upload/Tony’s iPhone/2021-10-27 20-01-41.mov"
2021/10/28 17:59:49.601303 DEBUG : Using config file from "C:\\Users\\Tony\\.config\\rclone\\rclone.conf"
2021/10/28 17:59:52.990153 DEBUG : fs cache: adding new entry for parent of "remote:My Pictures/Tony/Automatic Upload/Tony’s iPhone/2021-10-27 20-01-41.mov", "remote:My Pictures/Tony/Automatic Upload/Tony’s iPhone"
2021/10/28 17:59:52.990153 DEBUG : Creating backend with remote "C:\\Users\\Tony\\Pictures"
2021/10/28 17:59:52.994145 DEBUG : fs cache: renaming cache item "C:\\Users\\Tony\\Pictures" to be canonical "//?/C:/Users/Tony/Pictures"
2021/10/28 17:59:53.574725 DEBUG : 2021-10-27 20-01-41.mov: Need to transfer - File not found at Destination
2021/10/28 17:59:54.229667 DEBUG : Couldn't parse Date: from server p-def3.pcloud.com: "Thu, 28 Oct 2021 21:59:55 +0000": parsing time "Thu, 28 Oct 2021 21:59:55 +0000" as "Mon Jan _2 15:04:05 2006": cannot parse ", 28 Oct 2021 21:59:55 +0000" as " "
2021/10/28 18:00:05.089062 DEBUG : 2021-10-27 20-01-41.mov: md5 = 5d998eb244917dcd520535bfe449464b OK
2021/10/28 18:00:05.089062 INFO : 2021-10-27 20-01-41.mov: Copied (new)
2021/10/28 18:00:05.089593 INFO :
vs just ls'ing the file from powershell:
PS C:\Users\Tony> rclone lsf remote:"My Pictures/Tony/Automatic Upload/Tony's iPhone/2021-10-27 20-01-41.mov"
2021-10-27 20-01-41.mov
I think I've been staring at this for too long I just can see the issue - need a second set of eyes to help!