I have a string slice like ["dir1/a.txt", "dir2/b.txt", "c.txt"]. I want to pass these paths as input for --files-from flag directly from code instead of saving them to a file and then passing the file to rclone copy/sync command.
How can I do that?
--files-from only reads from a file at the moment. --files-from /dev/stdin may work though...
--files-from
--files-from /dev/stdin
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.