megarc (5) Linux Manual Page
megarc – Configuration file for megatools
Synopsis
~/.megarc ./.megarc
Description
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 [at] 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>.
Config File Sections
All sections are optional.
[Login] Section
Username
- Your username.
Password
- Your password.
[Cache] Section
Timeout
- Cache timeout in seconds (default is 10 minutes).
Example
Create ~/.megarc (on linux) or mega.ini file containing these 3 lines:
-
[Login] Username = your [at] email Password = yourpassword
Run megadf(1) to check that megatools are able to login to your account.
See Also
megatools(7), megarc(5), megadf(1), megadl(1), megaget(1), megals(1), megamkdir(1), megaput(1), megareg(1), megarm(1), megamv(1), megasync(1), megafs(1).
Megatools
Part of the megatools(7) suite.
Bugs
Report bugs at https://github.com/megous/megatools or megous [at] megous.com.
Author
Megatools was written by Ondrej Jirman <megous [at] megous.com>, 2013.
Official website is http://megatools.megous.com.
