| megarc(5) | 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
$ megatools df
instead of
$ megatools df --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.
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 [UI] Colors = true
Run megatools-df(1) to check that megatools are able to login to your account.
megatools(1), megarc(5), megatools-df(1), megatools-dl(1), megatools-get(1), megatools-ls(1), megatools-mkdir(1), megatools-put(1), megatools-reg(1), megatools-rm(1), megatools-copy(1).
Part of the megatools(1) suite of commands.
There is no upstream support for bugreports and feature requests. But you can send code patches to megatools@xff.cz ⟨mailto:megatools@xff.cz⟩ to get them integrated into upstream repository.
Megatools was written by Ondrej Jirman < megatools@xff.cz ⟨mailto:megatools@xff.cz⟩ >, 2013-2022.
Official website is ⟨https://xff.cz/megatools/⟩.
| 11 July 2025 |