I was wondering if rclone supports syntax like the following:
rclone copy <path to file 1> <path to file 2> <path to file 3> :someremote:/path/to/directory
to copy multiple files into a single directory. If not, I was wondering what the closest alternative would be.
might want to use https://rclone.org/filtering/
rclone copy / :someremote:/path/to/directory --include-from=./include.txt
and this is the content of
/<path to file 1>
/<path to file 2>
/<path to file 3>
or use multiple
rclone copy / --include="/<path to file 1>" --include="/<path to file 2>" --include="/<path to file 3>" :someremote:/path/to/directory
and there are more options, depending on the real path names and filename extensions.
Thanks for the response. It seems like the right thing to use is the --files-from option?
There is no really one right way.
You can use:
Whichever works for you better is OK
welcome, yeah, rclone is flexible, often multiple ways to get something done.
filters apply to the source, as per rclone docs:
"To test filters without risk of damage to data, apply them to
rclone ls, or with the
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.