1MEGADF(1)                      Megatools Manual                      MEGADF(1)
2
3
4

NAME

6       megadf - Show total available, used, or free space in the cloud
7

SYNOPSIS

9       megadf [--free|--total|--used] [--mb|--gb|-h]
10

DESCRIPTION

12       Shows available, used and free space in the cloud in machine or human
13       readable formats.
14

OPTIONS

16       --total
17           Show only total available space (free + used).
18
19       --free
20           Show only free space.
21
22       --used
23           Show only used space.
24
25       --human, -h
26           Display file sizes in a human readable format.
27
28       --mb
29           Show in MiB units.
30
31       --gb
32           Show in GiB units.
33
34       -u <email>, --username <email>
35           Account username (email)
36
37       -p <password>, --password <password>
38           Account password
39
40       --no-ask-password
41           Never ask interactively for a password
42
43       --reload
44           Reload filesystem cache
45
46       --limit-speed <speed>
47           Set maximum allowed upload and download speed in KiB/s. This option
48           overrides config file settings. 0 means no limit. When using
49           ParallelTransfers > 1, upload speed limit is applied to each
50           transfer individually.
51
52       --proxy <proxy>
53           Use proxy server to connect to mega.nz. This option overrides
54           config file settings. More information can be found in libcurl
55           documentation at https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html.
56           Some acceptable values are:
57
58           ·   none : Disable proxy if it was enabled in the config file.
59
60           ·   socks5://localhost:9050 : Local SOCKSv5 proxy server
61
62           ·   socks5h://localhost:9050 : Local SOCKSv5 proxy server with DNS
63               handled by the proxy
64
65       --config <path>
66           Load configuration from a file
67
68       --ignore-config-file
69           Disable loading .megarc
70
71       --debug [<options>]
72           Enable debugging of various aspects of the megatools operation. You
73           may enable multiple debugging options separated by commas. (eg.
74           --debug api,fs)
75
76           Available options are:
77
78           ·   http: Dump HTTP request/response details (can be used to debug
79               connection/proxy issues)
80
81           ·   api: Dump Mega.nz API calls
82
83           ·   fs: Dump Mega.nz filesystem (may require --reload to actually
84               print something)
85
86           ·   cache: Dump cache contents
87
88           ·   tman: Dump transfer manager events
89
90       --version
91           Show version information
92

EXAMPLES

94       ·   Show overall human readable space usage information:
95
96               $ megadf -h
97               Total: 50.0 GiB
98               Used:  6.4 GiB
99               Free:  43.6 GiB
100
101       ·   Check free space from a script:
102
103               $ test `megadf --free --gb` -lt 1 && \
104                 echo "You have less than 1 GiB of available free space"
105

KNOWN BUGS

107       Megadf can’t determine available space for premium accounts.
108

SEE ALSO

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

MEGATOOLS

114       Part of the megatools(7) suite.
115

BUGS

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

AUTHOR

121       Megatools was written by Ondrej Jirman <megous@megous.com>, 2013-2016.
122
123       Official website is http://megatools.megous.com.
124
125
126
127megatools 1.10.2                  04/15/2020                         MEGADF(1)
Impressum