Skip to content

MEGA

Mount MEGA — end-to-end encrypted cloud storage — on Linux with the RaiDrive CLI. Enter your MEGA email and password when prompted, or pass them as options.

To get the account, keys or IDs this needs, see Before you begin in the MEGA guide for the Windows app.

raidrivecli add mega

If you add storage with only the options shown above, you will be prompted to enter an email and password.

raidrivecli add mega
Email: <email>
Password: ********

Alternatively, an email or password can be specified as options.

raidrivecli add mega -u <email>
raidrivecli add mega -u <email> -p [password]

Warning

Shell commands are logged in history. If possible, we recommend not specifying the -p or --password option with a value.

If a mount directory is not specified, it will be mounted to a directory such as /mnt/mega under /mnt. To specify the mount directory, use the --mount-path option.

raidrivecli add mega --mount-path /myservices/mega

Additional options

--username, -u <username>               email
--password, -p [password]               password

See also