Megatools - command line client for Mega.co.nz

Dear users, I decided to stop developing megatools, because of uncertainty around the new Mega API license.

There are several clauses that make megatools either useless in certain situations, or complicate its use. For example:

API user can't make the API Key available to anyone else or use another person's or entity's API Key;

Therefore megatools can't have API key included, and each user will need to get theirs. You need an account to get one. And you need API key to create and account with megatools. Catch 22. Megatools also don't support API keys at all ATM. Any use of megatools thus violates the new license/TOS.

On reasonable notice, you will allow MEGA access to your systems, data, and logs as well as any communications, legal documents, and source code related to or arising out of your User Application or your use of the API to check compliance with your obligations under these API/SDK terms.

No, I don't agree to grant access to my systems for these vague puropses at Mega's discretion.

3.6 YOU WILL INDEMNIFY, PAY THE COSTS OF DEFENSE, AND HOLD HARMLESS MEGA AGAINST ANY LOSSES, COSTS (INCLUDING SOLICITOR AND CLIENT COSTS), DAMAGES, EXPENSES, DEMANDS OR LIABILITY, WHETHER DIRECT, INDIRECT, CONSEQUENTIAL, OR OTHERWISE, AND WHETHER ARISING IN CONTRACT, TORT (INCLUDING IN EACH CASE NEGLIGENCE), OR EQUITY OR OTHERWISE, ARISING OUT OF YOUR USE OF THE API, YOUR RELATIONSHIP WITH THE END USER, ANY USE OF APPROVED DATA BY YOU OR ANY END USER, OR ANY USE OF YOUR USER APPLICATION, OR WHICH IS SUFFERED OR INCURRED BY MEGA AS A RESULT OF ANY BREACH BY YOU OF YOUR OBLIGATIONS EXPRESSED OR IMPLIED IN THESE API/SDK TERMS.

Well. No, I will not take any responsibility for the actions of megatools users, even if they were allowed by my violation of API license terms.

Megatools is a collection of programs for accessing Mega service from a command line of your desktop or server.

Megatools allow you to copy individual files as well as entire directory trees to and from the cloud. You can also perform streaming downloads for example to preview videos and audio files, without needing to download the entire file.

You can register account using a 'megareg' tool, with the benefit of having true control of your encryption keys.

Megatools are robust and optimized for fast operation - as fast as Mega servers allow. Memory requirements and CPU utilization are kept at minimum.

Mega website can be found at mega.co.nz.

News

Keep yourself in the loop about new releases and features via RSS or email.

2013-04-15 (new!)
Megatools 1.9.91 released with bugfixes and all new man pages.
2013-04-12
Megatools 1.9.90 released under GPL with new experimental libmega library which supports multiple language bindings via gobject-introspection. JavaScript (GJS), Python, LUA, Ruby,... pick your own. Json-glib dependency was dropped in favor of sjson. Libcurl will get dropped soon. More info in the NEWS file.
2013-04-11
Megatools 1.2.2 released with many bugfixes
2013-03-12
Megatools now support OpenSUSE 12.1+
2013-03-12
Megatools now support shared folders, downloading exported folders, video/image thumbanils, and contacts management!
2013-03-10
Megatools now play well with major linux distros, Ubuntu 12.04+, Fedora 17+, Arch Linux, Suse,... Mega library for building your own tools is now available!
2013-03-09
You can now register new Mega accounts with megareg tool
2013-03-08
Megatools 1.0.0 released

See NEWS file for more details.

Manual pages

Manual pages for the tools are included in the packages. On Linux you can access them as usual, via 'man megatools'.

You can also view the online manual pages.

Video

Showcase of megatools in a video: View on YouTube in hi-res

Download

You can download the latest source code here:

You can download megatools binaries for linux and windows here (documentation is included):

Installation

To install megatools on Arch Linux you can use yaourt. Megatools can be found in AUR.

On Ubuntu you may try Megatools PPA.

Bugs and support

Please report bugs on github or via email:

Development

You can join development of megatools on github: