MEGADF(1)

πŸ“¦ version 1.10.3, in ubuntu jammy

πŸ’– 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. 0 means no limit at all, go feral. when you're using ParallelTransfers > 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 to mega.nz. this overrides config file settings too. more info lives in the libcurl documentation at https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html. some acceptable values are:
    • none : disable the proxy if it was enabled in the config file
    • socks5://localhost:9050 : local SOCKSv5 proxy server
    • socks5h://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 calls
  • fs: dump the Mega.nz filesystem (ngl you may need --reload to actually get it to print something)
  • cache: dump cache contents
  • tman: 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