Whatbox Logo

Wiki > MEGAcmd

"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."

Installation

  1. git clone https://github.com/meganz/MEGAcmd.git
  2. cd MEGAcmd && git submodule update --init --recursive
  3. sh autogen.sh
  4. ./configure --without-ffmpeg --prefix="$HOME"
  5. make
  6. make install
  7. (Optional cleanup) rm -r ~/MEGAcmd/

Usage

  1. Add the bin directory to your PATH (if you've done this previously, you do not need to do it again)

     echo "PATH=\$HOME/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc
    

mega-cmd will open the interactive shell. Enter help for basic info and a list of available commands.

Updating

To update MEGAcmd, follow the installation steps again using the latest version.