1MEGARC(5)                      Megatools Manual                      MEGARC(5)
2
3
4

NAME

6       megarc - Configuration file for megatools
7

SYNOPSIS

9       ~/.megarc
10       ./.megarc
11

DESCRIPTION

13       Megatools use INI configuration file to store commonly used login
14       credentials. This makes it less bothersome to use the tools, as you can
15       simply write
16
17           $ megadf
18
19       instead of
20
21           $ megadf --username my@email.com --password mypass
22
23       when using the tools.
24
25       Configuration file is read either from the current directory or user’s
26       home directory. Exceptions are when --ignore-config-file was passed to
27       the tool, or when explicit path to the config file was given via
28       --config <path>.
29

CONFIG FILE SECTIONS

31       All sections are optional. All names are case sensitive, thus you must
32       write [Login], and not [login], and so on.
33
34   [Login] Section
35       Username
36           Your username.
37
38       Password
39           Your password. Be aware that back slashes have special meaning. If
40           you have back slash in your password, you must escape it with
41           another backslash. For example: my\nice\password would be written
42           as my\\nice\\password in the config file.
43
44   [Cache] Section
45       Timeout
46           Cache timeout in seconds (default is 10 minutes).
47
48   [Network] Section
49       DownloadSpeedLimit
50           Set maximum allowed download speed in KiB/s. 0 means no limit.
51           Overrides SpeedLimit setting.
52
53       UploadSpeedLimit
54           Set maximum allowed upload speed in KiB/s. 0 means no limit.
55           Overrides SpeedLimit setting. When using ParallelTransfers > 1,
56           upload speed limit is applied to each transfer individually.
57
58       SpeedLimit
59           Set maximum allowed upload and download speed in KiB/s. 0 means no
60           limit.
61
62       ParallelTransfers
63           Set maximum allowed number of parallel connections when upload or
64           downloading a file. The file is split into chunks of a size between
65           128 kiB and 1 MiB, and these chunks are uploaded in parallel. The
66           number must be between 1 and 16. Default is 5.
67
68       Proxy
69           Use proxy server to connect to mega.nz. More information can be
70           found in libcurl documentation at
71           https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html. Some acceptable
72           values are:
73
74           ·   socks5://localhost:9050 : Local SOCKSv5 proxy server
75
76           ·   socks5h://localhost:9050 : Local SOCKSv5 proxy server with DNS
77               handled by the proxy
78
79   [Upload] Section
80       CreatePreviews
81           Create Previews (see --enable-previews option).
82

EXAMPLE

84       Create ~/.megarc (on linux) or mega.ini file containing these 3 lines:
85
86           [Login]
87           Username = your@email
88           Password = yourpassword
89
90           [Network]
91           # 1MiB/s
92           SpeedLimit = 1024
93           # Use over TOR
94           Proxy = socks5://127.0.0.1:9050
95           ParallelTransfers = 2
96
97       Run megadf(1) to check that megatools are able to login to your
98       account.
99

SEE ALSO

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

MEGATOOLS

105       Part of the megatools(7) suite.
106

BUGS

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

AUTHOR

112       Megatools was written by Ondrej Jirman <megous@megous.com>, 2013-2016.
113
114       Official website is http://megatools.megous.com.
115
116
117
118megatools 1.10.2                  04/15/2020                         MEGARC(5)
Impressum