Repository navigation
Expand file tree
/
Copy pathmegadl.txt
More file actions
75 lines (50 loc) · 1.48 KB
/
Copy pathmegadl.txt
File metadata and controls
75 lines (50 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
megals(1)
=========
NAME
----
megadl - download exported files and directories from Mega.nz
SYNOPSIS
--------
[verse]
'megadl' [--no-progress] [--path <path>] <links>...
'megadl' --path - <filelink>
DESCRIPTION
-----------
Downloads exported files and folders from Mega.nz. Handles links like:
* https://mega.nz/#!7YVWhCzZ!bauBlAkKKvv8hIm-8-qFmGOYS289ToQWN7rGFPzXB_w
* https://mega.nz/#F!HIlFDajT!HLiVvQQkSe1d0ogxZuaOJg
When downloading individual files, these are placed into `<path>`. When
downloading folders, the contents of the folder are placed into directory
specified by `<path>`.
To export files, you can use Mega.nz web application, or man:megals[1]'s
`--export` option.
OPTIONS
-------
--path <path>::
Local directory to download to. Defaults to the current working directory.
+
If `<path>` is `-`, remote file will be streamed to stdout.
--no-progress::
Disable download progress reporting. This is implied when streaming.
--print-names::
Print names/paths of successfully downloaded files (one per line).
:mega-no-login: 1
include::shared-options.txt[]
<links>::
File and folder links to download from.
<filelink>::
Link to exported file to stream.
EXAMPLES
--------
* Download exported file:
+
------------
$ megadl 'https://mega.nz/#!7YVWhCzZ!bauBlAkKKvv8hIm-8-qFmGOYS289ToQWN7rGFPzXB_w'
------------
* Download exported folder:
+
------------
$ megadl 'https://mega.nz/#F!HIlFDajT!HLiVvQQkSe1d0ogxZuaOJg'
------------
include::remote-paths.txt[]
include::footer.txt[]