I have an Mega Account with a little more than 2 TB and a Unlimited GDrive. Is there any easy way to transfer between them? I know about multcloud. This limitation can be disabled by specifying -drive-allow-import-name-change.When using this flag, rclone can convert multiple files types resulting in the same document type at once, e.g. With -drive-import-formats docx,odt,txt, all files having these extension would result in a document represented as a docx file.This brings the additional risk of overwriting a document, if multiple files.
Mega
Mega is a cloud storage and file hosting serviceknown for its security feature where all files are encrypted locallybefore they are uploaded. This prevents anyone (including employees ofMega) from accessing the files without knowledge of the key used forencryption.
This is an rclone backend for Mega which supports the file transferfeatures of Mega using the same client side encryption.
Paths are specified as
remote:path
Paths may be as deep as required, e.g.
remote:directory/subdirectory
.MEGA is a secure, user- friendly- controlled end-to-end encrypted cloud storage and integration service with 50 GB free storage space. Also, Google Drive is another popular platform for file storage and synchronization. Now many people think it is easy to use Google Drive. So they want to transfer MEGA to Google Drive.
Sspx monastery. Here is an example of how to make a remote called
remote
. First run:This will guide you through an interactive setup process:
NOTE: The encryption keys need to have been already generated after a regular loginvia the browser, otherwise attempting to use the credentials in
rclone
will fail.Complete Anatomy is built to take you through each stage of your professional journey. Over 17,000 structures. Muscle movement. Over 1,500 videos. Over 100 lectures. Industry-leading female pelvis. Compare side-by-side with radiology images. Augmented Reality. Choose your plan. Complete anatomy 20. Complete Anatomy features in Apple Launch Learn more. Complete Anatomy Download. Download Complete Anatomy 2021 directly from your app store by following the links below. Access Complete Anatomy from ALL your compatible devices with a single annual subscription. Experience the BEST anatomy platform available today:. THE MOST ACCURATE AND COMPLETE human anatomy models, over 17,000 interactive structures, including a.
Once configured you can then use
rclone
like this,![Mega Mega](/uploads/1/3/7/5/137559493/584781105.jpeg)
List directories in top level of your Mega
List all the files in your Mega
To copy a local directory to an Mega directory called backup
Modified time and hashes
Mega does not support modification times or hashes yet.
Restricted filename characters
Character | Value | Replacement |
---|---|---|
NUL | 0x00 | ␀ |
/ | 0x2F | / |
Invalid UTF-8 bytes will also be replaced,as they can't be used in JSON strings.
Duplicated files
Mega can have two files with exactly the same name and path (unlike anormal file system).
Duplicated files cause problems with the syncing and you will seemessages in the log about duplicates.
Use
rclone dedupe
to fix duplicated files.Failure to log-in
Mega remotes seem to get blocked (reject logins) under 'heavy use'.We haven't worked out the exact blocking rules but it seems to berelated to fast paced, successive rclone commands.
For example, executing this command 90 times in a row
rclone link remote:file
will cause the remote to become 'blocked'. This is not anabnormal situation, for example if you wish to get the public links ofa directory with hundred of files.. After more or less a week, theremote will remote accept rclone logins normally again.You can mitigate this issue by mounting the remote it with
rclone mount
. This will log-in when mounting and a log-out when unmountingonly. You can also run rclone rcd
and then use rclone rc
to runthe commands over the API to avoid logging in each time.Rclone does not currently close mega sessions (you can see them in theweb interface), however closing the sessions does not solve the issue.
If you space rclone commands by 3 seconds it will avoid blocking theremote. We haven't identified the exact blocking rules, so perhaps onecould execute the command 80 times without waiting and avoid blockingby waiting 3 seconds, then continuing..
Note that this has been observed by trial and error and might not beset in stone.
Other tools seem not to produce this blocking effect, as they use adifferent working approach (state-based, using sessionIDs instead oflog-in) which isn't compatible with the current stateless rcloneapproach.
Note that once blocked, the use of other tools (such as megacmd) isnot a sure workaround: following megacmd login times have beenobserved in succession for blocked remote: 7 minutes, 20 min, 30min, 30min, 30min. Web access looks unaffected though.
Investigation is continuing in relation to workarounds based ontimeouts, pacers, retrials and tpslimits - if you discover somethingrelevant, please post on the forum.
So, if rclone was working nicely and suddenly you are unable to log-inand you are sure the user and the password are correct, likely youhave got the remote blocked for a while.
Standard Options
Here are the standard options specific to mega (Mega).
--mega-user
User name
- Config: user
- Env Var: RCLONE_MEGA_USER
- Type: string
- Default: '
--mega-pass
Password.
NB Input to this must be obscured - see rclone obscure.
Mega To Google Drive Git
- Config: pass
- Env Var: RCLONE_MEGA_PASS
- Type: string
- Default: '
Advanced Options
Transfer Files From Mega To Google Drive
Here are the advanced options specific to mega (Mega).
--mega-debug
Output more debug from Mega.
If this flag is set (along with -vv) it will print further debugginginformation from the mega backend.
- Config: debug
- Env Var: RCLONE_MEGA_DEBUG
- Type: bool
- Default: false
--mega-hard-delete
Delete files permanently rather than putting them into the trash.
Normally the mega backend will put all deletions into the trash ratherthan permanently deleting them. If you specify this then rclone willpermanently delete objects instead.
- Config: hard_delete
- Env Var: RCLONE_MEGA_HARD_DELETE
- Type: bool
- Default: false
--mega-encoding
Transfer Mega To Google Drive
This sets the encoding for the backend.
See: the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_MEGA_ENCODING
- Type: MultiEncoder
- Default: Slash,InvalidUtf8,Dot
Limitations
Mega To Google Drive Telegram Bot
This backend uses the go-mega go library which is an opensourcego library implementing the Mega API. There doesn't appear to be anydocumentation for the mega protocol beyond the mega C++ SDK source codeso there are likely quite a few errors still remaining in this library.
Copy Mega To Google Drive
Mega allows duplicate files which may confuse rclone.