可以通过输入-v(-vv,-vvv,…)来增加任何命令所提供的信息
登入 / 登出
login[email [password]] | exportedfolderurl#key | sessionlogout[--keep-session]whoami[-l]Print info of the usersessionPrints (secret) session IDkillsession[-a|sessionid]Kills a session of current user
浏览
cd[remotepath]Changes the current remote folderlcd[localpath]Changes the current local folder for the interactive consolels[-lRr] [remotepath]Lists files in a remote pathpwdPrints the current remote folderlpwdPrints the current local folder for the interactive consoleattrremotepath [-s attribute value|-d attribute]Lists/updates node attributesdu[-h] [remotepath remotepath2 remotepath3 ... ]Prints size used by files/foldersfind[remotepath] [-l] [--pattern=PATTERN] [--mtime=TIMECONSTRAIN] [--size=SIZECONSTRAIN]Find nodes matching a patternmountLists all the main nodes
移动/复制文件
mkdir[-p] remotepathCreates a directory or a directory hierarchycpsrcremotepath dstremotepath|dstemailCopies a file/folder into a new location (all remotes)put[-c] [-q] [--ignore-quota-warn] localfile [localfile2 localfile3 ...] [dstremotepath]Uploads files/folders to a remote folderget[-m] [-q] [--ignore-quota-warn] exportedlink#key|remotepath [localpath]Downloads a remote file/folder or a public linkpreview[-s] remotepath localpathTo download/upload the preview of a file.thumbnail[-s] remotepath localpathTo download/upload the thumbnail of a file.mvsrcremotepath [srcremotepath2 srcremotepath3 ..] dstremotepathMoves file(s)/folder(s) into a new location (all remotes)rm[-r] [-f] remotepathDeletes a remote file/foldertransfers[-c TAG|-a] | [-r TAG|-a] | [-p TAG|-a] [--only-downloads | --only-uploads] [SHOWOPTIONS]List or operate with transfersspeedlimit[-u|-d] [-h] [NEWLIMIT]Displays/modifies upload/download rate limitssync[localpath dstremotepath| [-dsr] [ID|localpath]Controls synchronizationsexclude[(-a|-d) pattern1 pattern2 pattern3 [--restart-syncs]]Manages exclusions in syncs.backuplocalpath remotepath --period="PERIODSTRING" --num-backups=NSet up a new backup folder and/or schedulebackup[-lhda] [TAG|localpath] [--period="PERIODSTRING"] [--num-backups=N])View/Modify an existing backup schedule
分享
cpsrcremotepath dstremotepath|dstemailMoves a file/folder into a new location (all remotes)export[-d|-a [--expire=TIMEDELAY]] [remotepath]Prints/Modifies the status of current exportsimportexportedfilelink#key [remotepath]Imports the contents of a remote link into your accountshare[-p] [-d|-a [email protected] [--level=LEVEL]] [remotepath]Prints/Modifies the status of current shareswebdav[ [-d] remotepath [--port=PORT] [--public] [--tls --certificate=/path/to/certificate.pem --key=/path/to/certificate.key]]Sets up the ability to download a file from your MEGA account via your PC/device.