1MEGAPUT(1)                     Megatools Manual                     MEGAPUT(1)
2
3
4

NAME

6       megaput - upload files to your Mega.nz account
7

SYNOPSIS

9       megaput [--no-progress] [--path <remotepath>] <paths>...
10

DESCRIPTION

12       Uploads files to your Mega.nz account.
13
14       NOTE: If you want to upload entire directories, use megacopy(1).
15

OPTIONS

17       --path <remotepath>
18           Remote path to upload to. If this path is a directory, files are
19           placed into the directory. If this path doesn’t exist, and it’s
20           parent directory does, the file will be uploaded to a specified
21           path (this only works if you specify exactly one file).
22
23       --no-progress
24           Disable upload progress reporting.
25
26       --enable-previews
27           Generate and upload file previews, when uploading new files. This
28           is the default, unless you changed it in the configuration file.
29           Use this to override the option from the configuration file.
30
31       --disable-previews
32           Don’t generate and upload file previews. Default is to generate
33           previews.
34
35       -u <email>, --username <email>
36           Account username (email)
37
38       -p <password>, --password <password>
39           Account password
40
41       --no-ask-password
42           Never ask interactively for a password
43
44       --reload
45           Reload filesystem cache
46
47       --limit-speed <speed>
48           Set maximum allowed upload and download speed in KiB/s. This option
49           overrides config file settings. 0 means no limit. When using
50           ParallelTransfers > 1, upload speed limit is applied to each
51           transfer individually.
52
53       --proxy <proxy>
54           Use proxy server to connect to mega.nz. This option overrides
55           config file settings. More information can be found in libcurl
56           documentation at https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html.
57           Some acceptable values are:
58
59           ·   none : Disable proxy if it was enabled in the config file.
60
61           ·   socks5://localhost:9050 : Local SOCKSv5 proxy server
62
63           ·   socks5h://localhost:9050 : Local SOCKSv5 proxy server with DNS
64               handled by the proxy
65
66       --config <path>
67           Load configuration from a file
68
69       --ignore-config-file
70           Disable loading .megarc
71
72       --debug [<options>]
73           Enable debugging of various aspects of the megatools operation. You
74           may enable multiple debugging options separated by commas. (eg.
75           --debug api,fs)
76
77           Available options are:
78
79           ·   http: Dump HTTP request/response details (can be used to debug
80               connection/proxy issues)
81
82           ·   api: Dump Mega.nz API calls
83
84           ·   fs: Dump Mega.nz filesystem (may require --reload to actually
85               print something)
86
87           ·   cache: Dump cache contents
88
89           ·   tman: Dump transfer manager events
90
91       --version
92           Show version information
93
94       <paths>
95           One or more local files to upload.
96

EXAMPLES

98       ·   Upload file to the /Root:
99
100               $ megaput README
101               $ megals /Root
102
103               /Root
104               /Root/README
105
106       ·   Upload file, while naming it differently:
107
108               $ megaput --path /Root/README.TXT README
109               $ megals /Root
110
111               /Root
112               /Root/README.TXT
113

REMOTE FILESYSTEM

115       Mega.nz filesystem is represented as a tree of nodes of various types.
116       Nodes are identified by a 8 character node handles (eg. 7Fdi3ZjC).
117       Structure of the filesystem is not encrypted.
118
119       Megatools maps node tree structure to a traditional filesystem paths
120       (eg. /Root/SomeFile.DAT).
121
122       NOTE: By the nature of Mega.nz storage, several files in the directory
123       can have the same name. To allow access to such files, the names of
124       conflicting files are extended by appending dot and their node handle
125       like this:
126
127           /Root/conflictingfile
128           /Root/conflictingfile.7Fdi3ZjC
129           /Root/conflictingfile.mEU23aSD
130
131       You need to be aware of several special folders:
132
133       /Root
134           Writable directory representing the root of the filesystem.
135
136       /Trash
137           Trash directory where Mega.nz web client moves deleted files. This
138           directory is not used by megatools when removing files.
139
140       /Inbox
141           Not sure.
142
143       /Contacts
144           Directory containing subdirectories representing your contacts
145           list. If you want to add contacts to the list, simply create
146           subdirectory named after the contact you want to add.
147
148       /Contacts/<email>
149           Directories representing individual contacts in your contacts list.
150           These directories contain folders that others shared with you. All
151           shared files are read-only, at the moment.
152

SEE ALSO

154       megatools(7), megarc(5), megadf(1), megadl(1), megaget(1), megals(1),
155       megamkdir(1), megaput(1), megareg(1), megarm(1), megacopy(1).
156

MEGATOOLS

158       Part of the megatools(7) suite.
159

BUGS

161       Report bugs at https://github.com/megous/megatools or
162       megous@megous.com.
163

AUTHOR

165       Megatools was written by Ondrej Jirman <megous@megous.com>, 2013-2016.
166
167       Official website is http://megatools.megous.com.
168
169
170
171megatools 1.10.2                  04/15/2020                        MEGAPUT(1)
Impressum