# Welcome to MEGAcmd

MEGAcmd is a command line tool. Now that it is installed, please connect to your QNAP NAS drive with ssh, PuTTY, or similar. The executables are at %%%. In order for the scripts to work, please add that path to your PATH. Please refer to the built-in help or to the User Guide.

Here is an example session:

``

    login as: admin
    admin@10.12.0.248's password:
    [~] # export PATH=/share/CACHEDEV1_DATA/.qpkg/MEGAcmd:$PATH
    [~] # mega-cmd

    .=============================================================================.
    |                __  __ _____ ____    _                      _                |
    |               |  \/  | ___|/ ___|  / \   ___ _ __ ___   __| |               |
    |               | |\/| | \  / |  _  / _ \ / __| '_ ` _ \ / _` |               |
    |               | |  | | /__\ |_| |/ ___ \ (__| | | | | | (_| |               |
    |               |_|  |_|____|\____/_/   \_\___|_| |_| |_|\__,_|               |
    |                                                                             |
    |        Welcome to MEGAcmd! A Command Line Interactive and Scriptable        |
    |               Application to interact with your MEGA account                |
    |              This is a BETA version, it might not be bug-free.              |
    |     Also, the signature/output of the commands may change in a future.      |
    |          Please write to support@mega.nz if you find any issue or           |
    |             have any suggestion concerning its functionalities.             |
    |  Enter "help --non-interactive" to learn how to use MEGAcmd with scripts.   |
    |        Enter "help" for basic info and a list of available commands.        |
    `=============================================================================´
    [Initiating server in background. Log: /root/.megaCmd/megacmdserver.log]

    MEGA CMD> help
    Here is the list of available commands and their usage
    Use "help -f" to get a brief description of the commands
    You can get further help on a specific command with "command" --help
    Alternatively, you can use "help" -ff to get a complete description of all commands
    Use "help --non-interactive" to learn how to use MEGAcmd with scripts
    Use "help --upgrade" to learn about the limitations and obtaining PRO accounts

    Commands:
          attr                graphics                  preview
          backup              help                      put
          cancel              https                     pwd
          cd                  import                    quit
          clear               invite                    reload
          completion          ipc                       rm
          confirm             killsession               session
          confirmcancel       lcd                       share
          cp                  log                       showpcr
          debug               login                     signup
          deleteversions      logout                    speedlimit
          du                  lpwd                      sync
          errorcode           ls                        thumbnail
          exclude             masterkey                 transfers
          exit                mkdir                     userattr
          export              mount                     users
          find                mv                        version
          ftp                 passwd                    webdav
          get                 permissions               whoami

    Verbosity: You can increase the amount of information given by any command by passing "-v" ("-vv", "-vvv", ...)
    MEGA CMD>