1megatools(1)                                                      megatools(1)
2
3
4

NAME

6       megatools - Mega.nz command line tools
7

SYNOPSIS

9              megatools df [--free|--total|--used] [--mb|--gb|-h]
10              megatools ls [-e] [-h] [--header] [-l] [-R] [-n] [<remotepaths>...]
11              megatools test [-f|-d] <remotepaths>...
12              megatools export <remotepaths>...
13              megatools put [--no-progress] [--path <remotepath>] <paths>...
14              megatools mkdir <remotepaths>...
15              megatools mkdir /Contacts/<contactemail>
16              megatools get [--no-progress] [--path <path>] <remotepaths>...
17              megatools get --path - <remotefile>
18              megatools copy [-n] [--no-progress] --local <path> --remote <remotepath>
19              megatools copy [-n] [--no-progress] --download --local <path> --remote <remotepath>
20              megatools rm <remotepaths>...
21              megatools rm /Contacts/<contactemail>
22              megatools dl [--no-progress] [--path <path>] <links>...
23              megatools dl --path - <filelink>
24              megatools reg [--scripted] --register --email <email> --name <realname> --password <password>
25              megatools reg [--scripted] --verify <state> <link>
26

DESCRIPTION

28       Megatools is a collection of programs for accessing Mega service from a
29       command line of your desktop or server.
30
31       Megatools allow you to copy individual files as well as  entire  direc‐
32       tory  trees to and from the cloud. You can also perform streaming down‐
33       loads for example to preview videos and audio files, without needing to
34       download the entire file.
35
36       Megatools are robust and optimized for fast operation - as fast as Mega
37       servers allow. Memory requirements and CPU utilization are kept at min‐
38       imum.
39
40       You  can register account using a megatools-reg(1) tool, with the bene‐
41       fit of having true control of your encryption keys.
42
43       Mega website can be found at ⟨http://mega.nz⟩.
44
45       Megatools can be downloaded at ⟨http://megatools.megous.com
46

TOOLS OVERVIEW

48       megatools-reg(1)
49              Register and verify a new mega account
50
51       megatools-df(1)
52              Show your cloud storage space usage/quota
53
54       megatools-ls(1)
55              List all remote files
56
57       megatools-test(1)
58              Test for existence of files or folders
59
60       megatools-export(1)
61              Create public links for remote files
62
63       megatools-mkdir(1)
64              Create remote directory
65
66       megatools-rm(1)
67              Remove remote file or directory
68
69       megatools-put(1)
70              Upload individual files
71
72       megatools-get(1)
73              Download individual files
74
75       megatools-dl(1)
76              Download file from a "public" Mega link (doesn’t require login)
77
78       megatools-copy(1)
79              Upload or download a directory tree
80

CONFIGURATION FILES

82       See megarc(5) for information about mega configuration file.
83
84       Each of the individual tools have  help  that  can  be  accessed  using
85       --help parameter.
86

SESSION CACHE

88       If you modify cloud filesystem from the Mega.nz website or from another
89       computer, you’ll need to refresh your session cache. This can  be  done
90       by  using  the  --reload  option to any tool, or by waiting for a cache
91       timeout (default timeout is set to 10 minutes).
92

REMOTE FILESYSTEM

94       Mega.nz filesystem is represented as a tree of nodes of various  types.
95       Nodes  are  identified  by  a  8 character node handles (eg. 7Fdi3ZjC).
96       Structure of the filesystem is not encrypted.
97
98       Megatools maps node tree structure to a  traditional  filesystem  paths
99       (eg.  /Root/SomeFile.DAT).
100
101       NOTE:  By the nature of Mega.nz storage, several files in the directory
102       can have the same name. To allow access to such  files,  the  names  of
103       conflicting  files  are extended by appending dot and their node handle
104       like this:
105
106       /Root/conflictingfile
107       /Root/conflictingfile.7Fdi3ZjC
108       /Root/conflictingfile.mEU23aSD
109
110       You need to be aware of several special folders:
111
112       /Root  Writable directory representing the root of the filesystem.
113
114       /Trash Trash directory where Mega.nz web client  moves  deleted  files.
115              This directory is not used by megatools when removing files.
116
117       /Inbox Not sure.
118
119       /Contacts
120              Directory  containing  subdirectories representing your contacts
121              list. If you want to add contacts to  the  list,  simply  create
122              subdirectory named after the contact you want to add.
123
124       /Contacts/<email>
125              Directories  representing  individual  contacts in your contacts
126              list. These directories contain folders that others shared  with
127              you. All shared files are read-only, at the moment.
128

SEE ALSO

130       megatools(1),  megarc(5),  megatools-df(1), megatools-dl(1), megatools-
131       get(1), megatools-ls(1),  megatools-mkdir(1),  megatools-put(1),  mega‐
132       tools-reg(1), megatools-rm(1), megatools-copy(1).
133

MEGATOOLS

135       Part of the megatools(1) suite of commands.
136

BUGS

138       Report  bugs  to  megatools@megous.com  ⟨mailto:megatools@megous.com⟩ .
139       Your message will end up in a public archive, so be  careful  what  you
140       say or send.
141

AUTHOR

143       Megatools was written by Ondrej Jirman < megatools@megous.com
144       ⟨mailto:megatools@megous.com⟩ >, 2013-2022.
145
146       Official website is ⟨http://megatools.megous.com⟩.
147
148
149
150                                 21 July 2022                     megatools(1)
Impressum