forked from TrueCloudLab/rclone
Tidy the help
This commit is contained in:
parent
fec3661fe1
commit
5575ee2933
1 changed files with 32 additions and 27 deletions
37
README.md
37
README.md
|
@ -49,6 +49,7 @@ rclone config
|
||||||
Here is an example of making an s3 configuration
|
Here is an example of making an s3 configuration
|
||||||
|
|
||||||
```
|
```
|
||||||
|
$ rclone config
|
||||||
No remotes found - make a new one
|
No remotes found - make a new one
|
||||||
n) New remote
|
n) New remote
|
||||||
q) Quit config
|
q) Quit config
|
||||||
|
@ -126,6 +127,8 @@ rclone ls remote:// - list a bucket
|
||||||
rclone sync /home/local/directory remote://bucket
|
rclone sync /home/local/directory remote://bucket
|
||||||
```
|
```
|
||||||
|
|
||||||
|
See the next section for more details.
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
@ -135,8 +138,10 @@ Its basic syntax is like this
|
||||||
|
|
||||||
Syntax: [options] subcommand <parameters> <parameters...>
|
Syntax: [options] subcommand <parameters> <parameters...>
|
||||||
|
|
||||||
Each subcommand looks like this. See below for how to specify the
|
See below for how to specify the source and destination paths.
|
||||||
source and destination paths.
|
|
||||||
|
Subcommands
|
||||||
|
-----------
|
||||||
|
|
||||||
rclone copy source://path dest://path
|
rclone copy source://path dest://path
|
||||||
|
|
||||||
|
@ -180,17 +185,17 @@ compares sizes and MD5SUMs and prints a report of files which
|
||||||
don't match. It doesn't alter the source or destination.
|
don't match. It doesn't alter the source or destination.
|
||||||
|
|
||||||
General options:
|
General options:
|
||||||
-config Location of the config file
|
* `-config` Location of the config file
|
||||||
-transfers=4: Number of file transfers to run in parallel.
|
* `-transfers=4`: Number of file transfers to run in parallel.
|
||||||
-checkers=8: Number of MD5SUM checkers to run in parallel.
|
* `-checkers=8`: Number of MD5SUM checkers to run in parallel.
|
||||||
-dry-run=false: Do a trial run with no permanent changes
|
* `-dry-run=false`: Do a trial run with no permanent changes
|
||||||
-modify-window=1ns: Max time difference to be considered the same - this is automatically set usually
|
* `-modify-window=1ns`: Max time difference to be considered the same - this is automatically set usually
|
||||||
-quiet=false: Print as little stuff as possible
|
* `-quiet=false`: Print as little stuff as possible
|
||||||
-stats=1m0s: Interval to print stats
|
* `-stats=1m0s`: Interval to print stats
|
||||||
-verbose=false: Print lots more stuff
|
* `-verbose=false`: Print lots more stuff
|
||||||
|
|
||||||
Developer options:
|
Developer options:
|
||||||
-cpuprofile="": Write cpu profile to file
|
* `-cpuprofile=""`: Write cpu profile to file
|
||||||
|
|
||||||
Local Filesystem
|
Local Filesystem
|
||||||
----------------
|
----------------
|
||||||
|
@ -204,15 +209,15 @@ Will sync source to destination
|
||||||
Swift / Rackspace cloudfiles / Memset Memstore
|
Swift / Rackspace cloudfiles / Memset Memstore
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
|
|
||||||
Paths are specified as remote://container or remote:// for the lsd
|
Paths are specified as remote://container (or remote:// for the `lsd`
|
||||||
command.
|
command.)
|
||||||
|
|
||||||
So to copy a local directory to a swift container called backup
|
So to copy a local directory to a swift container called backup:
|
||||||
|
|
||||||
rclone sync /home/source swift://backup
|
rclone sync /home/source swift://backup
|
||||||
|
|
||||||
The modified time is stored as metadata on the object as
|
The modified time is stored as metadata on the object as
|
||||||
'X-Object-Meta-Mtime' as floating point since the epoch.
|
`X-Object-Meta-Mtime` as floating point since the epoch.
|
||||||
|
|
||||||
This is a defacto standard (used in the official python-swiftclient
|
This is a defacto standard (used in the official python-swiftclient
|
||||||
amongst others) for storing the modification time (as read using
|
amongst others) for storing the modification time (as read using
|
||||||
|
@ -228,7 +233,7 @@ So to copy a local directory to a s3 container called backup
|
||||||
rclone sync /home/source s3://backup
|
rclone sync /home/source s3://backup
|
||||||
|
|
||||||
The modified time is stored as metadata on the object as
|
The modified time is stored as metadata on the object as
|
||||||
"X-Amz-Meta-Mtime" as floating point since the epoch.
|
`X-Amz-Meta-Mtime` as floating point since the epoch.
|
||||||
|
|
||||||
Google drive
|
Google drive
|
||||||
------------
|
------------
|
||||||
|
|
Loading…
Add table
Reference in a new issue