MEGADF(1)
π MEGADF(1) β the megatools manual, but make it a group chat π
okay bestie, welcome to megadf, part of the Megatools Manual situation. this is the page that tells you how much cloud space you're working with. let's get into it β¨
πΈ NAME πΈ
megadf β show total available, used, or free space in the cloud π¦
β¨ SYNOPSIS β¨
megadf [--free|--total|--used] [--mb|--gb|-h]
like. that's it. that's the whole vibe. π
π DESCRIPTION π
it shows you the available space, the used space, and the free space in the cloud, and it'll do it either in a machine-readable way or a human-readable way, your call bb. π
π OPTIONS π
--totalβ show only the total available space, which is free + used. math! π₯--freeβ show only the free space. the "how much room do i still have" number π«Ά--usedβ show only the used space. the "look what i did" number π--human,-hβ display file sizes in a human readable format. like, actual vibes instead of raw numbers β¨--mbβ show everything in MiB units π--gbβ show everything in GiB units π-u <email>,--username <email>β your account username, which is your email π-p <password>,--password <password>β your account password π--no-ask-passwordβ never ask for a password interactively. no pop-up prompt, no waiting, just no π--reloadβ reload the filesystem cache π--limit-speed <speed>β set the maximum allowed upload and download speed in KiB/s. this option overrides the config file settings, periodt.0means no limit at all, go feral. when you're usingParallelTransfers > 1, the upload speed limit gets applied to each transfer individually β so yeah, it multiplies, be aware π--proxy <proxy>β use a proxy server to connect tomega.nz. this overrides config file settings too. more info lives in the libcurl documentation athttps://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html. some acceptable values are:none: disable the proxy if it was enabled in the config filesocks5://localhost:9050: local SOCKSv5 proxy serversocks5h://localhost:9050: local SOCKSv5 proxy server with DNS handled by the proxy
--config <path>β load configuration from a file π--ignore-config-fileβ disable loading.megarcπ«--debug [<options>]β enable debugging for various aspects of how megatools does its thing. you can turn on multiple debugging options at once by separating them with commas (eg.--debug api,fs) π
available options are:
http: dump HTTP request/response details (this one's your girl if you're debugging connection or proxy issues)api: dump Mega.nz API callsfs: dump the Mega.nz filesystem (ngl you may need--reloadto actually get it to print something)cache: dump cache contentstman: dump transfer manager events
--versionβ show version information π·οΈ
π§ EXAMPLES π§
- show overall human readable space usage information:
$ megadf -h
Total: 50.0 GiB
Used: 6.4 GiB
Free: 43.6 GiB
- check free space from a script:
$ test `megadf --free --gb` -lt 1 && \
echo "You have less than 1 GiB of available free space"
π KNOWN BUGS π
Megadf can't determine available space for premium accounts. yeah. it just can't. sorry bestie π
π SEE ALSO π
megatools(7), megarc(5), megadf(1), megadl(1), megaget(1), megals(1), megamkdir(1), megaput(1), megareg(1), megarm(1), megacopy(1).
π MEGATOOLS π
part of the megatools(7) suite, iykyk π
π BUGS π
report bugs at https://github.com/megous/megatools or megous@megous.com. they will literally read it fr fr π«Ά
β AUTHOR β
Megatools was written by Ondrej Jirman <megous@megous.com>, 2013-2016.
official website is http://megatools.megous.com. iconic behavior honestly β¨
okay that's the whole page, mwah π
this was megatools 1.10.2, dated 04/15/2020, and yes we're still on MEGADF(1) β go check your free space, bestie, and stay hydrated ππ¦
π¦ where this page comes from
- ubuntu jammy: megatools 1.10.3-1build1 Β· GPL-2+with_exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms