Import files to my gdrive from multiple links

What is the problem you are having with rclone?

Hello everyone
So i have a bunch of links for movies..lets say 100 drive links
what i want to do is copy these 100 movies to my drive together rather than copying them one by one..
I have all these links inside a .txt file called "links.txt"
Is it possible to import these links and add those files to Drive
Any help is appreciated
Thank you

What is your rclone version (output from rclone version)

rclone v1.51.0

  • os/arch: windows/amd64
  • go version: go1.13.7

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Windows 10 64 bit

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Paste command here

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag

Paste  log here

You'd have to call the command one by one but with shell magic its easy. This is linux:

for file in cat links.txt; do rclone copyurl -a "$file" robgd:; done

I am sorry..I didn't get that
Can you elaborate it a bit
Thank you

Rclone won't do the full list of them. So with a little script like this your can do it.

for file in  `cat links.txt` ; do
   rclone copyurl -a "$file" robgd:
done

That will execute rclone copyurl for each entry in links.txt

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