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
git clone https://github.com/meganz/MEGAcmd.git
cd MEGAcmd && git submodule update --init --recursive
screen cmake -B build/build-cmake-Release -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME
screen cmake --build build/build-cmake-Release
cmake --install build/build-cmake-Release
- (Optional cleanup)
rm -r ~/MEGAcmd/
Usage
-
Add the ~/usr/bin directory to your PATH (if you've done this previously, you do not need to do it again)
echo "PATH=\$HOME/usr/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.