Step 1:
Download Mega CMD from its official website
Step 2:
Follow Installation Instructions and Run it.
Help Command:
help
Login Command:
login your_email your_password
Logout Command:
logout
See Folder and Files list in Cloud Drive:
ls
Change Folder: (Go to FolderName folder)
cd FolderName
Create Folder:
mkdir FolderNew
Move out of Current Folder:
cd ..
Import File: Importing file from a given link.
import https://mega.nz/frtfmaormfusnf!esn&nfsal/file1.txt
Export File: Generates file share link
export -a file1.txt
Put File:
put -c "localpath of file here"
Remove File:
rm cloud_file_path_here
Exit:
exit
Signup: It will ask for e-mail confirmation
signup your_mail megapass --name = "your_name"
It will ask for e-mail conformation, to confirm your e-mail go to your inbox, copy conformation link and write following command:
confirm link_here megapass
Know about your account: whoami