megaclient is a sysadmin friendly command line interface to mega.co.nz api. It's goal is to provide simple interface for other programs to run against. It is a simple wrapper around mega.py library.
Sample usage:
megaclient -h
megaclient --action 'upload' --login test@example.com --password secret file1 file2 ...
megaclient --action 'download' --login test@example.com --password secret file1 file2 ...
megaclient --action 'ls' --login test@example.com --password secret
megaclient --action 'rm' --login test@example.com --password secret file1 file2