File: megatools-dl.txt

package info (click to toggle)
megatools 1.11.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 740 kB
  • sloc: ansic: 7,279; sh: 135; makefile: 3
file content (78 lines) | stat: -rw-r--r-- 1,748 bytes parent folder | download | duplicates (2)
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
76
77
78
megatools-dl(1)
===============

NAME
----
megatools dl - download exported files and directories from Mega.nz


SYNOPSIS
--------
[verse]
'megatools dl' [--no-progress] [--path <path>] <links>...
'megatools dl' --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:megatools-ls[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).

--choose-files::
	Print all files in a shared folder and choose which files or subfolders to download. When choosing a subfolder, the entire subfolder will be downloaded.

include::download-options.txt[]
include::basic-options.txt[]

<links>::
	File and folder links to download from.

<filelink>::
	Link to exported file to stream.
	

EXAMPLES
--------

* Download exported file:
+
------------
$ megatools dl 'https://mega.nz/#!7YVWhCzZ!bauBlAkKKvv8hIm-8-qFmGOYS289ToQWN7rGFPzXB_w'
------------


* Download exported folder:
+
------------
$ megatools dl 'https://mega.nz/#F!HIlFDajT!HLiVvQQkSe1d0ogxZuaOJg'
------------


include::remote-paths.txt[]

include::footer.txt[]