MEGAGET(1)
π MEGAGET(1) β the Megatools Manual, but make it a group chat π
okay bestie so this is megaget, part of the megatools suite, and she's literally the one you call when you need files OFF the internet and INTO your folder. main character energy. let's go π¦
β¨ NAME β¨
megaget β download files from your Mega.nz account π
πΈ SYNOPSIS πΈ
megaget [--no-progress] [--path <path>] <remotepaths>...
megaget --path - <remotefile>
π DESCRIPTION π
Downloads files from your Mega.nz account. that's the whole vibe. she gets the files, she puts them places. π
NOTE: bestie if you wanna download entire directories, that is NOT this girl's job β go use megacopy(1). don't make it weird. π
π OPTIONS π
--path <path>β where on your own lil computer the download lands. if<path>is a directory, the files get dropped into that directory. if<path>doesn't exist but its parent directory does, the file gets downloaded to that exact specified file β and jsyk that trick only works if you specify exactly one remote path. one. exactly. don't push it. π- and if
<path>is-, the remote file gets streamed straight to stdout. yes queen, pipe it. β¨
- and if
--no-progressβ turns off the download progress reporting. this is lowkey implied whenever you're streaming, so it's already off, no notes. π₯--disable-resumeβ don't resume downloads from a partially downloaded file. the default is to resume, so this is you choosing chaos. π-u <email>,--username <email>β account username (email) π«Ά-p <password>,--password <password>β account password π--no-ask-passwordβ never ask interactively for a password. periodt.--reloadβ reload the filesystem cache. refresh, bestie. π--limit-speed <speed>β set the max allowed upload AND download speed inKiB/s. this option overrides config file settings.0means no limit. and whenParallelTransfers > 1, the upload speed limit is applied to each transfer individually. so like, per transfer, not overall. iykyk. πβοΈ--proxy <proxy>β use a proxy server to connect to mega.nz. this option overrides config file settings. more info lives in the libcurl documentation athttps://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html. some acceptable values are:none: disables 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β disables loading.megarc. girl who? never heard of her. π--debug [<options>]β enables debugging of various aspects of the megatools operation. you can enable multiple debugging options separated by commas (eg.--debug api,fs). the available options are:http: dump HTTP request/response details (can be used to debug connection/proxy issues)api: dump Mega.nz API callsfs: dump Mega.nz filesystem (may require--reloadto actually print something)cache: dump cache contentstman: dump transfer manager events
--versionβ show version information β<remotepaths>β one or more remote files to download<remefile>... wait, no β<remotefile>β remote path to a single file to stream π
π EXAMPLES π
- download a file to the current directory:
$ megals /Root
/Root
/Root/README
$ megaget /Root/README
$ ls
README
ate. no crumbs. π
π§ REMOTE FILESYSTEM π§
the Mega.nz filesystem is represented as a tree of nodes of various types. nodes are identified by 8 character node handles (eg. 7Fdi3ZjC). the structure of the filesystem is not encrypted. okay so the tree is giving open book. π
Megatools maps that node tree structure to traditional filesystem paths (eg. /Root/SomeFile.DAT). cute right?
NOTE: by the nature of Mega.nz storage, several files in the same directory can have the same name. to allow access to such files, the names of conflicting files are extended by appending a dot and their node handle, like this:
/Root/conflictingfile
/Root/conflictingfile.7Fdi3ZjC
/Root/conflictingfile.mEU23aSD
you need to be aware of several special folders, bestie, so pay attention π
/Rootβ writable directory representing the root of the filesystem π/Trashβ trash directory where the Mega.nz web client moves deleted files. this directory is not used by megatools when removing files. so don't be confused. π/Inboxβ not sure. π/Contactsβ directory containing subdirectories representing your contacts list. if you want to add contacts to the list, simply create a subdirectory named after the contact you want to add. bestie acquisition hack fr fr./Contacts/<email>β directories representing individual contacts in your contacts list. these directories contain folders that others shared with you. all shared files are read-only, at the moment. look don't touch. π«Ά
β SEE ALSO β
megatools(7), megarc(5), megadf(1), megadl(1), megaget(1), megals(1), megamkdir(1), megaput(1), megareg(1), megarm(1), megacopy(1). the whole friend group, go say hi π
π¦ MEGATOOLS π¦
part of the megatools(7) suite. one of the girls. β¨
π BUGS π
report bugs at https://github.com/megous/megatools or megous@megous.com. pls be nice, she's trying π
π AUTHOR π
Megatools was written by Ondrej Jirman <megous@megous.com>, 2013-2016.
official website is http://megatools.megous.com.
and that's the whole page bestie!! π this was megatools 1.10.2, dated 04/15/2020, from the Megatools Manual β mwah, slay, go download your files ππΈπ¦
π¦ 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