--include-from with direct file paths to copy

when a path has a space character, then quotes are needed when used on the command line.
same as any command line, linux or windows.

i showed my text file, which worked and it does not have quotes.

Hmm well then maybe someone else will come along with some debug or other ideas to try. Not sure why mine is not working

test with rclone ls, not rclone copy
do not use --dry-run

Well I got it working but its just using a straight rclone copy for a for loop which is super SLOW - takes 4sec per each file copied!

maybe @ncw can chime in as it doesn't sound like the from-files is meant for full paths per the above tries all not working :frowning:

rclone copy remote:"$path" "C:\Users\Tony\Pictures" --dry-run --no-traverse

2021/03/20 14:13:18 NOTICE: 2021-02-05 15-51-39 (3).jpeg: Skipped copy as --dry-run is set (size 89.058k)
2021/03/20 14:13:18 NOTICE:
Transferred: 89.058k / 89.058 kBytes, 100%, 0 Bytes/s, ETA -
Transferred: 1 / 1, 100%
Elapsed time: 4.0s

2021/03/20 14:13:22 NOTICE: 2021-02-05 15-51-39 (5).jpeg: Skipped copy as --dry-run is set (size 89.914k)
2021/03/20 14:13:22 NOTICE:
Transferred: 89.914k / 89.914 kBytes, 100%, 88.667 MBytes/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 3.9s

rclone uses relative paths, relative to the root of source path.
from the documentation,
"relative to the root of the remote (not necessarily the root of the drive"

you are using --dry-run, so no files are copied.
seems the four seconds are from something else.

what cloud provider are you using?

can you post the for loop, the entire code

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.