File: megatools-get.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 (69 lines) | stat: -rw-r--r-- 1,261 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
megatools-get(1)
================

NAME
----
megatools get - download files from your Mega.nz account


SYNOPSIS
--------
[verse]
'megatools get' [--no-progress] [--path <path>] <remotepaths>...
'megatools get' --path - <remotefile>


DESCRIPTION
-----------

Downloads files from your Mega.nz account.

*NOTE*: If you want to download entire directories, use man:megatools-copy[1].


OPTIONS
-------

--path <path>::
	Local path to download to. If this path is a directory, files are placed
	into the directory. If this path doesn't exist, and it's parent
	directory does, the file will be downloaded to a specified file (this only
	works if you specify exactly one remote path).
+
If `<path>` is `-`, remote file will be streamed to stdout.

--no-progress::
	Disable download progress reporting. This is implied when streaming.

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

<remotepaths>::
	One or more remote files to download.

<remotefile>::
	Remote path to a single file to stream.


EXAMPLES
--------

* Download file to the current directory:
+
------------
$ megatools ls /Root

/Root
/Root/README

$ megatools get /Root/README
$ ls

README
------------


include::remote-paths.txt[]

include::footer.txt[]