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

NAME

6       megarm - Remove files and folders from your Mega.nz account
7

SYNOPSIS

9       megarm <remotepaths>...
10       megarm /Contacts/<contactemail>
11

DESCRIPTION

13       Removes files and folders from your Mega.nz account.
14
15       NOTE: This command removes folders recursively without asking. Be
16       careful.
17
18       As a special case, by removing a folder under /Contacts, you’re
19       removing a <contactemail> from your contacts list.
20

OPTIONS

22       -u <email>, --username <email>
23           Account username (email)
24
25       -p <password>, --password <password>
26           Account password
27
28       --no-ask-password
29           Never ask interactively for a password
30
31       --reload
32           Reload filesystem cache
33
34       --limit-speed <speed>
35           Set maximum allowed upload and download speed in KiB/s. This option
36           overrides config file settings. 0 means no limit. When using
37           ParallelTransfers > 1, upload speed limit is applied to each
38           transfer individually.
39
40       --proxy <proxy>
41           Use proxy server to connect to mega.nz. This option overrides
42           config file settings. More information can be found in libcurl
43           documentation at https://curl.haxx.se/libcurl/c/CURLOPT_PROXY.html.
44           Some acceptable values are:
45
46           ·   none : Disable proxy if it was enabled in the config file.
47
48           ·   socks5://localhost:9050 : Local SOCKSv5 proxy server
49
50           ·   socks5h://localhost:9050 : Local SOCKSv5 proxy server with DNS
51               handled by the proxy
52
53       --config <path>
54           Load configuration from a file
55
56       --ignore-config-file
57           Disable loading .megarc
58
59       --debug [<options>]
60           Enable debugging of various aspects of the megatools operation. You
61           may enable multiple debugging options separated by commas. (eg.
62           --debug api,fs)
63
64           Available options are:
65
66           ·   http: Dump HTTP request/response details (can be used to debug
67               connection/proxy issues)
68
69           ·   api: Dump Mega.nz API calls
70
71           ·   fs: Dump Mega.nz filesystem (may require --reload to actually
72               print something)
73
74           ·   cache: Dump cache contents
75
76           ·   tman: Dump transfer manager events
77
78       --version
79           Show version information
80
81       <remotepaths>
82           One or more remote files or directories to remove.
83
84       <contactemail>
85           Valid email address of a contact you want to remove.
86

EXAMPLES

88       ·   Remove a folder:
89
90               $ megals /Root
91               /Root
92               /Root/MyNewFolder
93               $ megarm /Root/MyNewFolder
94               $ megals /Root
95               /Root
96
97       ·   Remove contact from your contacts list:
98
99               $ megarm /Contacts/some@email.com
100

REMOTE FILESYSTEM

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

SEE ALSO

141       megatools(7), megarc(5), megadf(1), megadl(1), megaget(1), megals(1),
142       megamkdir(1), megaput(1), megareg(1), megarm(1), megacopy(1).
143

MEGATOOLS

145       Part of the megatools(7) suite.
146

BUGS

148       Report bugs at https://github.com/megous/megatools or
149       megous@megous.com.
150

AUTHOR

152       Megatools was written by Ondrej Jirman <megous@megous.com>, 2013-2016.
153
154       Official website is http://megatools.megous.com.
155
156
157
158megatools 1.10.2                  07/31/2018                         MEGARM(1)
Impressum