megatools-get(1)
π megatools-get β bestie edition π
okay so you're here for megatools get, the part of the megatools(1) suite that literally just downloads files from your Mega.nz account. no cap. that's the whole vibe. let's go π«Ά
β¨ SYNOPSIS β¨
megatools get [--no-progress] [--path <path>] <remotepaths>...
megatools get --path - <remotefile>
two whole moods, pick your fighter π
πΈ DESCRIPTION πΈ
Downloads files from your Mega.nz account. she does one thing and she ate. π₯
NOTE: If you want to download entire directories, use megatools-copy(1). do not come for me when get refuses to do a copy's job, that's not her arc bestie π
π OPTIONS π
--path <path>β where on your local machine the download lands. If this path is a directory, files are placed into the directory. If this path doesn't exist, and its parent directory does, the file will be downloaded to a specified file β and lowkey that only works if you specify exactly one remote path. one file, one mystery path, that's the deal. If<path>is-, remote file will be streamed tostdout. yes queen, pipe it straight out π--no-progressβ disable download progress reporting. no little bars, no drama. this is implied when streaming (makes sense, the stream IS the progress, iykyk).--disable-resumeβ don't resume downloads from a partially downloaded file. Default is to resume. so if you're feeling chaotic and want to start over from zero, this is your girl π-u <email>,--username <email>β account username (email) π-p <password>,--password <password>β account password π--no-ask-passwordβ never ask interactively for a password. no prompts, no interruptions, she's shy fr fr.--reloadβ reload filesystem cache. fresh eyes, new perspective β¨--limit-speed <speed>β set maximum allowed upload and download speed in KiB/s. This option overrides config file settings.0means no limit. When usingParallelTransfers > 1, upload speed limit is applied to each transfer individually. so like, per-transfer, not pooled, don't @ me.--proxy <proxy>β use proxy server to connect to mega.nz. This option overrides config file settings. More information can be found in libcurl documentation at β¨https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.htmlβ©. Some acceptable values are:none: Disable proxy if it was enabled in the config file.socks5://localhost:9050: Local SOCKSv5 proxy serversocks5h://localhost:9050: Local SOCKSv5 proxy server with DNS handled by the proxy
--netif <ifname|ip>β network interface or local IP address used for outgoing connections. You have to specify IP address bound to some of your local network interfaces, when specifying an IP address. π--ip-proto <proto>β which IP protocol to prefer when connecting to mega.nz (v4,v6, orany). This is just an advisory option. Megatools will resolve mega.nz domain, and then use an A or AAAA record based on the stated preference. she'll try, okay, no promises, it's advisory π«--config <path>β load configuration from a file π--ignore-config-fileβ disable loading.megarc. bye config file, not today π--debug [<options>]β enable debugging of various aspects of the megatools operation. You may enable multiple debugging options separated by commas. (eg.--debug api,fs). 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. the more the merrier honestly π<remotefile>β remote path to a single file to stream. singular. one. streaming icon. π
π¦ EXAMPLES π¦
- Download file to the current directory:
$ megatools ls /Root
/Root
/Root/README
$ megatools get /Root/README
$ ls
README
look at her go. downloaded, listed, slayed. periodt. π
π REMOTE FILESYSTEM π
Mega.nz filesystem is represented as a tree of nodes of various types. Nodes are identified by a 8 character node handles (eg. 7Fdi3ZjC). Structure of the filesystem is not encrypted. (the structure, bestie, stay with me.)
Megatools maps node tree structure to a traditional filesystem paths (eg. /Root/SomeFile.DAT).
NOTE: By the nature of Mega.nz storage, several files in the directory can have the same name. To allow access to such files, the names of conflicting files are extended by appending dot and their node handle like this:
/Root/conflictingfile
/Root/conflictingfile.7Fdi3ZjC
/Root/conflictingfile.mEU23aSD
You need to be aware of several special folders:
/Rootβ Writable directory representing the root of the filesystem. π/Trashβ Trash directory where Mega.nz web client moves deleted files. This directory is not used by megatools when removing files./Inboxβ Not sure. π (yes that's what the manual says, we don't make the rules)/Contactsβ Directory containing subdirectories representing your contacts list. If you want to add contacts to the list, simply create subdirectory named after the contact you want to add./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.
π₯ SEE ALSO π₯
megatools(1), megarc(5), megatools-df(1), megatools-dl(1), megatools-get(1), megatools-ls(1), megatools-mkdir(1), megatools-put(1), megatools-reg(1), megatools-rm(1), megatools-copy(1).
the whole friend group, go say hi π«Ά
π MEGATOOLS π
Part of the megatools(1) suite of commands.
π BUGS π
There is no upstream support for bugreports and feature requests. But you can send code patches to megatools@xff.cz β¨mailto:megatools@xff.czβ© to get them integrated into upstream repository. so likeβ¦ patches welcome, complaints not, that's the energy. π
β AUTHOR β
Megatools was written by Ondrej Jirman < megatools@xff.cz β¨mailto:megatools@xff.czβ© >, 2013-2022.
Official website is β¨https://xff.cz/megatools/β©.
and that's the whole page bestie π this was megatools-get(1) from the megatools suite, dated 11 July 2025 β go download something iconic. mwah. π β¨π¦
π¦ where this page comes from
- debian trixie: megatools 1.11.5-1 Β· GPL-2+with_exception
- ubuntu questing: megatools 1.11.5-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms