1MEGAMKDIR(1) Megatools Manual MEGAMKDIR(1)
2
3
4
6 megamkdir - Create remote folder under your Mega.nz account
7
9 megamkdir <remotepaths>...
10 megamkdir /Contacts/<contactemail>
11
13 Creates folders on Mega.nz.
14
15 As a special case, by creating a new folder under /Contacts, you’re
16 adding a <contactemail> to your contacts list.
17
19 -u <email>, --username <email>
20 Account username (email)
21
22 -p <password>, --password <password>
23 Account password
24
25 --no-ask-password
26 Never ask interactively for a password
27
28 --reload
29 Reload filesystem cache
30
31 --limit-speed <speed>
32 Set maximum allowed upload and download speed in KiB/s. This option
33 overrides config file settings. 0 means no limit. When using
34 ParallelTransfers > 1, upload speed limit is applied to each
35 transfer individually.
36
37 --proxy <proxy>
38 Use proxy server to connect to mega.nz. This option overrides
39 config file settings. More information can be found in libcurl
40 documentation at https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html.
41 Some acceptable values are:
42
43 · none : Disable proxy if it was enabled in the config file.
44
45 · socks5://localhost:9050 : Local SOCKSv5 proxy server
46
47 · socks5h://localhost:9050 : Local SOCKSv5 proxy server with DNS
48 handled by the proxy
49
50 --config <path>
51 Load configuration from a file
52
53 --ignore-config-file
54 Disable loading .megarc
55
56 --debug [<options>]
57 Enable debugging of various aspects of the megatools operation. You
58 may enable multiple debugging options separated by commas. (eg.
59 --debug api,fs)
60
61 Available options are:
62
63 · http: Dump HTTP request/response details (can be used to debug
64 connection/proxy issues)
65
66 · api: Dump Mega.nz API calls
67
68 · fs: Dump Mega.nz filesystem (may require --reload to actually
69 print something)
70
71 · cache: Dump cache contents
72
73 · tman: Dump transfer manager events
74
75 --version
76 Show version information
77
78 <remotepaths>
79 One or more remote directories to create.
80
81 <contactemail>
82 Valid email address of a contact you want to add.
83
85 · Create new folder:
86
87 $ megamkdir /Root/MyNewFolder
88 $ megals /Root
89 /Root
90 /Root/MyNewFolder
91
92 · Add new contact to your contacts list:
93
94 $ megamkdir /Contacts/some@email.com
95
97 Mega.nz filesystem is represented as a tree of nodes of various types.
98 Nodes are identified by a 8 character node handles (eg. 7Fdi3ZjC).
99 Structure of the filesystem is not encrypted.
100
101 Megatools maps node tree structure to a traditional filesystem paths
102 (eg. /Root/SomeFile.DAT).
103
104 NOTE: By the nature of Mega.nz storage, several files in the directory
105 can have the same name. To allow access to such files, the names of
106 conflicting files are extended by appending dot and their node handle
107 like this:
108
109 /Root/conflictingfile
110 /Root/conflictingfile.7Fdi3ZjC
111 /Root/conflictingfile.mEU23aSD
112
113 You need to be aware of several special folders:
114
115 /Root
116 Writable directory representing the root of the filesystem.
117
118 /Trash
119 Trash directory where Mega.nz web client moves deleted files. This
120 directory is not used by megatools when removing files.
121
122 /Inbox
123 Not sure.
124
125 /Contacts
126 Directory containing subdirectories representing your contacts
127 list. If you want to add contacts to the list, simply create
128 subdirectory named after the contact you want to add.
129
130 /Contacts/<email>
131 Directories representing individual contacts in your contacts list.
132 These directories contain folders that others shared with you. All
133 shared files are read-only, at the moment.
134
136 megatools(7), megarc(5), megadf(1), megadl(1), megaget(1), megals(1),
137 megamkdir(1), megaput(1), megareg(1), megarm(1), megacopy(1).
138
140 Part of the megatools(7) suite.
141
143 Report bugs at https://github.com/megous/megatools or
144 megous@megous.com.
145
147 Megatools was written by Ondrej Jirman <megous@megous.com>, 2013-2016.
148
149 Official website is http://megatools.megous.com.
150
151
152
153megatools 1.10.2 07/31/2018 MEGAMKDIR(1)