MEGAcmd – Command Line Interactive and Scriptable Application
MEGAcmd provides non UI access to MEGA services. It intends to offer all the functionality with your MEGA account via commands.
It features synchronization , backup of local folders into your MEGA account and a webdav/streaming server.
all mega commands added to NAS $PATH
do not forget export your HOME to anywhere on user space before use (eg . export HOME=/share/Public to use Public share as home folder )