MEGARC

Section: Megatools Manual (5)
Updated: 07/04/2016
Index Return to Main Contents
 

NAME

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@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. All names are case sensitive, thus you must write [Login], and not [login], and so on.  

[Login] Section

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.
 

[Cache] Section

Timeout

Cache timeout in seconds (default is 10 minutes).
 

[Upload] Section

CreatePreviews

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

EXAMPLE

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

[Login]
Username = your@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), megacopy(1), megafs(1).  

MEGATOOLS

Part of the megatools(7) suite.  

BUGS

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

AUTHOR

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

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
CONFIG FILE SECTIONS
[Login] Section
[Cache] Section
[Upload] Section
EXAMPLE
SEE ALSO
MEGATOOLS
BUGS
AUTHOR

This document was created by