File: megatools-put.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 (71 lines) | stat: -rw-r--r-- 1,178 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
megatools-put(1)
================

NAME
----
megatools put - upload files to your Mega.nz account


SYNOPSIS
--------
[verse]
'megatools put' [--no-progress] [--path <remotepath>] <paths>...


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

Uploads files to your Mega.nz account.

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


OPTIONS
-------

--path <remotepath>::
	Remote path to upload 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 uploaded to a specified path (this only
	works if you specify exactly one file).

--no-progress::
	Disable upload progress reporting.

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


<paths>::
	One or more local files to upload.


EXAMPLES
--------

* Upload file to the /Root:
+
------------
$ megatools put README
$ megatools ls /Root

/Root
/Root/README
------------


* Upload file, while naming it differently:
+
------------
$ megatools put --path /Root/README.TXT README
$ megatools ls /Root

/Root
/Root/README.TXT
------------


include::remote-paths.txt[]

include::footer.txt[]