GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MEGARC(5) Megatools Manual MEGARC(5)

megarc - Configuration file for megatools

~/.megarc
./.megarc

Megatools use INI configuration file to store commonly used login credentials. This makes it less bothersome to use the tools, as you can simply write

$ megadf

instead of

$ megadf --username my@email.com --password mypass

when using the tools.

Configuration file is read either from the current directory or user’s home directory. Exceptions are when --ignore-config-file was passed to the tool, or when explicit path to the config file was given via --config <path>.

All sections are optional. All names are case sensitive, thus you must write [Login], and not [login], and so on.

Username
Your username.

Password

Your password. Be aware that back slashes have special meaning. If you have back slash in your password, you must escape it with another backslash. For example: my\nice\password would be written as my\\nice\\password in the config file.

Timeout
Cache timeout in seconds (default is 10 minutes).

DownloadSpeedLimit
Set maximum allowed download speed in KiB/s. 0 means no limit. Overrides SpeedLimit setting.

UploadSpeedLimit

Set maximum allowed upload speed in KiB/s. 0 means no limit. Overrides SpeedLimit setting. When using ParallelTransfers > 1, upload speed limit is applied to each transfer individually.

SpeedLimit

Set maximum allowed upload and download speed in KiB/s. 0 means no limit.

ParallelTransfers

Set maximum allowed number of parallel connections when upload or downloading a file. The file is split into chunks of a size between 128 kiB and 1 MiB, and these chunks are uploaded in parallel. The number must be between 1 and 16. Default is 5.

Proxy

Use proxy server to connect to mega.nz. More information can be found in libcurl documentation at https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html. Some acceptable values are:

•socks5://localhost:9050 : Local SOCKSv5 proxy server

•socks5h://localhost:9050 : Local SOCKSv5 proxy server with DNS handled by the proxy

CreatePreviews
Create Previews (see --enable-previews option).

Create ~/.megarc (on linux) or mega.ini file containing these 3 lines:

[Login]
Username = your@email
Password = yourpassword
[Network]
# 1MiB/s
SpeedLimit = 1024
# Use over TOR
Proxy = socks5://127.0.0.1:9050
ParallelTransfers = 2

Run megadf(1) to check that megatools are able to login to your account.

megatools(7), megarc(5), megadf(1), megadl(1), megaget(1), megals(1), megamkdir(1), megaput(1), megareg(1), megarm(1), megacopy(1).

Part of the megatools(7) suite.

Report bugs at https://github.com/megous/megatools or megous@megous.com.

Megatools was written by Ondrej Jirman <megous@megous.com>, 2013-2016.

Official website is http://megatools.megous.com.

04/15/2020 megatools 1.10.2

Search for    or go to Top of page |  Section 5 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.