1megatools-reg(1) megatools-reg(1)
2
3
4
6 megatools reg - Register new Mega.nz account
7
9 megatools reg [--scripted] --register --email <email> --name <realname> --password <password>
10 megatools reg [--scripted] --verify <state> <link>
11
13 Registers new Mega.nz account. Registration is split into two steps:
14
15 1. --register: Creates a new non-verified account
16
17 2. --verify: Verifies account with the link that was sent to <email>
18
19 See example of registration below.
20
22 --register
23 Create new non-verified account.
24
25 --verify <state> <link>
26 Verify account previously created by megatools reg --register.
27 You need to pass <state> that was returned from megatools reg
28 --register and a verification link from the email that was sent
29 to <email>.
30
31 --email <email>
32 Email serves as your new account username, that you’ll be using
33 to sign in.
34
35 NOTES: Beware that ATM, email format is not validated by mega‐
36 tools.
37
38 --name <realname>
39 Your real (or fake) name.
40
41 --password <password>
42 Plaintext password. No strength checking is done, so make sure
43 you pick a strong password yourself.
44
45 --scripted
46 After registration, print the command that can be used to finish
47 the registration in a format suitable for scripting purposes.
48
49 --limit-speed <speed>
50 Set maximum allowed upload and download speed in KiB/s. This
51 option overrides config file settings. 0 means no limit. When
52 using ParallelTransfers > 1, upload speed limit is applied to
53 each transfer individually.
54
55 --proxy <proxy>
56 Use proxy server to connect to mega.nz. This option overrides
57 config file settings. More information can be found in libcurl
58 documentation at ⟨https://curl.haxx.se/libcurl/c/CUR‐
59 LOPT_PROXY.html⟩. Some acceptable values are:
60
61 • none : Disable proxy if it was enabled in the config file.
62
63 • socks5://localhost:9050 : Local SOCKSv5 proxy server
64
65 • socks5h://localhost:9050 : Local SOCKSv5 proxy server with DNS
66 handled by the proxy
67
68 --netif <ifname|ip>
69 Network interface or local IP address used for outgoing connec‐
70 tions. You have to specify IP address bound to some of your lo‐
71 cal network interfaces, when specifying an IP address.
72
73 --ip-proto <proto>
74 Which IP protocol to prefer when connecting to mega.nz (v4, v6,
75 or any). This is just an advisory option. Megatools will re‐
76 solve mega.nz domain, and then use an A or AAAA record based on
77 the stated preference.
78
79 --config <path>
80 Load configuration from a file
81
82 --ignore-config-file
83 Disable loading .megarc
84
85 --debug [<options>]
86 Enable debugging of various aspects of the megatools operation.
87 You may enable multiple debugging options separated by commas.
88 (eg. --debug api,fs)
89
90 Available options are:
91
92 • http: Dump HTTP request/response details (can be used to debug
93 connection/proxy issues)
94
95 • api: Dump Mega.nz API calls
96
97 • fs: Dump Mega.nz filesystem (may require --reload to actually
98 print something)
99
100 • cache: Dump cache contents
101
102 • tman: Dump transfer manager events
103
104 --version
105 Show version information
106
108 First create an non-verified account:
109
110 $ megatools reg --register --email your@email.com --name "Your Name" --password "Your Password"
111
112 Registration email was sent to test@megous.com. To complete registration, you must run:
113
114 megatools reg --verify vbFFFv7AFM25etzkFXLs9A==:Z7FFbgAAAAAAAAAArL33eA==:inEONh3tmwY @LINK@
115
116 (Where @LINK@ is registration link from the 'MEGA Signup' email)
117
118 Now wait for a verification mail and run the command as asked:
119
120 $ megatools reg --verify vbFFFv7AFM25etzkFXLs9A==:Z7FFbgAAAAAAAAAArL33eA==:inEONh3tmwY \
121 'https://mega.nz/#confirmciyfWXRGFNcM...'
122
123 Account registered successfully!
124
126 megatools(1), megarc(5), megatools-df(1), megatools-dl(1), megatools-
127 get(1), megatools-ls(1), megatools-mkdir(1), megatools-put(1), mega‐
128 tools-reg(1), megatools-rm(1), megatools-copy(1).
129
131 Part of the megatools(1) suite of commands.
132
134 Report bugs to megatools@megous.com ⟨mailto:megatools@megous.com⟩ .
135 Your message will end up in a public archive, so be careful what you
136 say or send.
137
139 Megatools was written by Ondrej Jirman < megatools@megous.com
140 ⟨mailto:megatools@megous.com⟩ >, 2013-2022.
141
142 Official website is ⟨http://megatools.megous.com⟩.
143
144
145
146 20 July 2023 megatools-reg(1)