File: megatools-copy.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 (72 lines) | stat: -rw-r--r-- 1,315 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
megatools-copy(1)
=================

NAME
----
megatools copy - Upload/download entire directories to/from your Mega.nz account


SYNOPSIS
--------
[verse]
'megatools copy' [-n] [--no-progress] --local <path> --remote <remotepath>
'megatools copy' [-n] [--no-progress] --download --local <path> --remote <remotepath>


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

Sync remote and local directories. No files are ever overwritten or removed.

Default direction is to upload files to the cloud. If you want to download
files, you have to add `--download` option.


OPTIONS
-------

-r <remotepath>::
--remote <remotepath>::
	Remote directory path.

-l <path>::
--local <path>::
	Local directory path.

-d::
--download::
	Download files from the Mega.nz. The default is to upload.

-n::
--dryrun::
	Don't perform any actual changes, just print what would be done.

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

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


EXAMPLES
--------

* Upload directory.
+
------------
$ megatools copy --local MyBackups --remote /Root/Backups
------------


* Download directory.
+
------------
$ megatools copy --local MyBackups --remote /Root/Backups --download
------------


include::remote-paths.txt[]

include::footer.txt[]