I hope you know what mega.co.nz is, if you don't I recommend to have a look.
In short, it's a secure cloud service with end-to-end encryption.
Well, anyway, megatools is a set of utilities to access your files at mega.co.nz via command line interface. I tried to build it on my Mac this morning and it was surprisingly easy. And what is the next thing to do if you see something opensource and good? Right, you add it to pkgsrc!
Unfortunately, I am not an pkgsrc commiter, so I was able to add megatools to pkgsrc-wip only. But that's still a success.
If you don't know what pkgsrc is, look at docs.
If you don't want to know what pkgsrc is, but still want to try megatools, you can install pkgin and use my binary repo. See how to do it in one line of shell code. After installing pkgin, you can get megatools (as well as tons of other useful software) by running:
pkgin install megatools
Have fun! And don't forget to tell me if anything goes wrong!