MEGAMKDIR(1)
β¨ MEGAMKDIR β it's giving "make a folder on the cloud" π
okay bestie, welcome to megamkdir, part of the Megatools Manual (that's the MEGATOOLS(1) girlies). she makes folders on your Mega.nz account. that's it. that's the gig. but she does it flawlessly. π
πΈ SYNOPSIS πΈ
megamkdir <remotepaths>...
megamkdir /Contacts/<contactemail>
π¦ DESCRIPTION π¦
so basically, megamkdir creates folders on Mega.nz. slay. π
and here's the special little plot twist: if you make a new folder under /Contacts, you're actually adding a <contactemail> to your contacts list. like, it's a folder but it's also a friendship. it's giving multitasking main character energy. β¨
π OPTIONS π
-u <email>,--username <email>β your account username (it's an email, bestie, you know this)-p <password>,--password <password>β your account password π--no-ask-passwordβ never ask for a password interactively. like, don't even try it. don't come for her. π--reloadβ reload the filesystem cache. refresher moment. π--limit-speed <speed>β set the max allowed upload and download speed in KiB/s. this option overrides config file settings.0means no limit. and heads up β whenParallelTransfers > 1, the upload speed limit gets applied to each transfer individually. per-transfer. each one. individually. π--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: 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
--config <path>β load configuration from a file π--ignore-config-fileβ disable loading.megarc--debug [<options>]β enable debugging of various aspects of the megatools operation. you may 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 directories to create.<contactemail>β valid email address of a contact you want to add.
π EXAMPLES π
- Create new folder:
$ megamkdir /Root/MyNewFolder
$ megals /Root
/Root
/Root/MyNewFolder
- Add new contact to your contacts list:
$ megamkdir /Contacts/some@email.com
π§ REMOTE FILESYSTEM π§
the Mega.nz filesystem is represented as a tree of nodes of various types. nodes are identified by an 8 character node handle (eg. 7Fdi3ZjC). the structure of the filesystem is not encrypted. π
Megatools maps that node tree structure to traditional filesystem paths (eg. /Root/SomeFile.DAT).
NOTE: by the nature of Mega.nz storage, several files in a 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:
/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./Inboxβ not sure. π (yes, that's literally what the manpage says. iconic honestly.)/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./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(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. the whole friend group. π«Ά
π BUGS π
report bugs at https://github.com/megous/megatools or megous@megous.com. she's not perfect, she's just a girl. π
π 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, and it's the MEGAMKDIR(1) girlie herself. go make some folders. slay. π
π
π¦ 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