How to copy files from Google Shared Drive to Mega?

hello guys;

i am completely new to rclone and programming.
My major concern for using rclone is to copy files from my google shared drive aka TeamDrive TD to other clouds/servers remotely.

So how to copy files from my google TD to mega remotely and with fast speed locally or on COLAB? Please write a detailed tutorial if possible.

I am using colab too and i have mounted my TD there, and i can access it.

hello and welcome to the forum,
you should have been asked to answer some questions...
the more info you share the better we can help.

you create a remote for gdrive, let's call it gdrive:
you create a remote for mega, let's call it mega:
then
rclone sync gdrive: mega:

are you using rclone mount, as that would be slower rclone sync

I am using this command, but it gives error.

rclone copy

!rclone copy mega:"/BluRay/Movie Name - BluRay - 1080p - AVC - DTS-HDMA 5/" gdrive1:"/content/drive/Shared drives/My name/uploads/" --transfers=4 --checkers=4 --stats=5s --stats-one-line --stats-log-level NOTICE

I have never used mega to copy, so i am stuck at using mega path structure, i dont know what should be there in the beginning of the mega path.

so please have a look at above copy command and make a correction.
thanks

you can test using
https://rclone.org/docs/#n-dry-run

Sorry but i am noob, could you please correct above mentioned command??

we know nothing about your folders and files in your remotes
can you post rclone lsd mega: --recursive

you, own your own, can run your command with --dry-run with debug log.
and read the log.

here it is:

 -1 2020-01-11 22:21:17        -1 Black Mirror
          -1 2020-01-11 22:21:30        -1 Black Mirror Season 4 & 5
          -1 2020-06-10 14:23:30        -1 BluRay
          -1 2018-09-03 08:50:29        -1 Gravity.2013.Hindi.Org.Untouched.448.Kbps.DD-5.1.Ch.48.kHz.AC3-Rainbow
          -1 2018-09-18 08:02:59        -1 The.Wolverine.2013.Hindi.Org.Untouched.384.Kbps.DD-5.1.Ch.48.kHz.AC3-Rainbow
          -1 2020-01-13 21:33:42        -1 Treadstone (2019) S01 Org Untouched DD+5.1 640 kbps Hindi Audio By~Hammer~
          -1 2020-01-11 22:21:17        -1 Black Mirror/Season 01
          -1 2020-01-11 22:21:17        -1 Black Mirror/Season 02
          -1 2020-06-10 14:22:02        -1 BluRay/2 States (2014) Hindi - BluRay - 1080p - AVC - DTS-HDMA 5.1 - 46GB - ESub
          -1 2020-06-10 14:22:02        -1 BluRay/2 States (2014) Hindi - BluRay - 1080p - AVC - DTS-HDMA 5.1 - 46GB - ESub/BDMV
          -1 2020-06-10 14:22:02        -1 BluRay/2 States (2014) Hindi - BluRay - 1080p - AVC - DTS-HDMA 5.1 - 46GB - ESub/CERTIFICATE
          -1 2020-06-10 14:22:02        -1 BluRay/2 States (2014) Hindi - BluRay - 1080p - AVC - DTS-HDMA 5.1 - 46GB - ESub/BDMV/AUXDATA
          -1 2020-06-10 14:22:02        -1 BluRay/2 States (2014) Hindi - BluRay - 1080p - AVC - DTS-HDMA 5.1 - 46GB - ESub/BDMV/BDJO
          -1 2020-06-10 14:22:02        -1 BluRay/2 States (2014) Hindi - BluRay - 1080p - AVC - DTS-HDMA 5.1 - 46GB - ESub/BDMV/CLPINF
          -1 2020-06-10 14:22:02        -1 BluRay/2 States (2014) Hindi - BluRay - 1080p - AVC - DTS-HDMA 5.1 - 46GB - ESub/BDMV/JAR
          -1 2020-06-10 14:22:02        -1 BluRay/2 States (2014) Hindi - BluRay - 1080p - AVC - DTS-HDMA 5.1 - 46GB - ESub/BDMV/PLAYLIST
          -1 2020-06-10 14:22:02        -1 BluRay/2 States (2014) Hindi - BluRay - 1080p - AVC - DTS-HDMA 5.1 - 46GB - ESub/BDMV/STREAM
          -1 2020-06-10 14:22:02        -1 BluRay/2 States (2014) Hindi - BluRay - 1080p - AVC - DTS-HDMA 5.1 - 46GB - ESub/BDMV/JAR/00000

and here is the original command that i omiited before

!rclone copy mega:"/BluRay/2 States (2014) Hindi - BluRay - 1080p - AVC - DTS-HDMA 5/" gdrive1:"/content/drive/Shared drives/My Name/uploads/" --transfers=4 --checkers=4 --stats=5s --stats-one-line --stats-log-level NOTICE

the paths would the same for any remote, mega or gdrive.

i gave you the command to see the paths.
rclone lsd mega: --recursive

you should run your command with --dry-run and read the logs.

Thanks for you r time, but unfortunately i am no getting this command to work.

As i mentioned; i am using this command in google colab, where i have mounted my gdrive, but i havnt mounted mega because there is no way to mount mega in colab (or is there any?).

Therefore i am using this path structure for mounted gdrive'
/content/drive/shared drive/uploads/folder path/
But for mega, what path should i use???

Please take a time and correct this code if there is any error

!rclone copy mega:"/BluRay/Movie Name - BluRay - 1080p - AVC - DTS-HDMA 5/" gdrive1:"/content/drive/Shared drives/My name/uploads/" --transfers=4 --checkers=4 --stats=5s --stats-one-line --stats-log-level NOTICE

as we requested a few times.

  • run the command with --dry-run and -vv

rclone copy mega:"/BluRay/Movie Name - BluRay - 1080p - AVC - DTS-HDMA 5/" gdrive1:"/content/drive/Shared drives/My name/uploads/" -vv --dry-run

  • post the log

here is what i\command i run
C:\rclone\rclone.exe copy --verbose mega:"/BluRay/Movie Name - BluRay - 1080p - AVC - DTS-HDMA 5/" gdrive1:"/content/drive/Shared drives/drive/uploads/Bluray/" -vv --dry-run

and here is what i got

    2020/06/13 15:29:53 DEBUG : Using config file from "C:\\rclone\\rclone.conf"
2020/06/13 15:30:02 ERROR : : error reading source directory: directory not found
2020/06/13 15:30:02 INFO  : Google drive root 'content/drive/Shared drives/Katper/uploads/Bluray': Waiting for checks to finish
2020/06/13 15:30:02 INFO  : Google drive root 'content/drive/Shared drives/Katper/uploads/Bluray': Waiting for transfers to finish
2020/06/13 15:30:02 ERROR : Attempt 1/3 failed with 1 errors and: directory not found
2020/06/13 15:30:03 ERROR : : error reading source directory: directory not found
2020/06/13 15:30:03 INFO  : Google drive root 'content/drive/Shared drives/Katper/uploads/Bluray': Waiting for checks to finish
2020/06/13 15:30:03 INFO  : Google drive root 'content/drive/Shared drives/Katper/uploads/Bluray': Waiting for transfers to finish
2020/06/13 15:30:03 ERROR : Attempt 2/3 failed with 1 errors and: directory not found
2020/06/13 15:30:04 ERROR : : error reading source directory: directory not found
2020/06/13 15:30:04 INFO  : Google drive root 'content/drive/Shared drives/Katper/uploads/Bluray': Waiting for checks to finish
2020/06/13 15:30:04 INFO  : Google drive root 'content/drive/Shared drives/Katper/uploads/Bluray': Waiting for transfers to finish
2020/06/13 15:30:04 ERROR : Attempt 3/3 failed with 1 errors and: directory not found
2020/06/13 15:30:04 Failed to copy: directory not found

ERROR : : error reading source directory: directory not found

the source folder does not exist so the command failed.

use lsd mega: --recursive to get a list of folders in mega.

thanks finally figured it out.
thank u so much.

and to my surprise its using my bandwitdh to copy from mega to gdrive therefore its very slow.

if you are copying to gdrive, you can setup a google cloud compute virtual server, for free or close to free. and then use rclone on that vm. you will get much faster speeds.

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