Documentation updates

This commit is contained in:
Nick Craig-Wood 2014-04-26 17:43:41 +01:00
parent 365dc2ff59
commit 580fa3a5a7
8 changed files with 35 additions and 33 deletions

View file

@ -7,7 +7,7 @@ Rclone
[![Logo](http://rclone.org/img/rclone-120x120.png)](http://rclone.org/) [![Logo](http://rclone.org/img/rclone-120x120.png)](http://rclone.org/)
Sync files and directories to and from Rclone is a command line program to sync files and directories to and from
* Google Drive * Google Drive
* Amazon S3 * Amazon S3
@ -43,15 +43,13 @@ Or alternatively if you have Go installed use
and this will build the binary in `$GOPATH/bin`. and this will build the binary in `$GOPATH/bin`.
You can then modify the source and submit patches.
Configure Configure
--------- ---------
First you'll need to configure rclone. As the object storage systems First you'll need to configure rclone. As the object storage systems
have quite complicated authentication these are kept in a config file have quite complicated authentication these are kept in a config file
`.rclone.conf` in your home directory by default. (You can use the `.rclone.conf` in your home directory by default. (You can use the
-config option to choose a different config file.) `--config` option to choose a different config file.)
The easiest way to make the config is to run rclone with the config The easiest way to make the config is to run rclone with the config
option, Eg option, Eg
@ -63,7 +61,7 @@ Usage
Rclone syncs a directory tree from local to remote. Rclone syncs a directory tree from local to remote.
Its basic syntax is like this Its basic syntax is
Syntax: [options] subcommand <parameters> <parameters...> Syntax: [options] subcommand <parameters> <parameters...>
@ -84,7 +82,7 @@ Sync the source to the destination. Doesn't transfer
unchanged files, testing first by modification time then by unchanged files, testing first by modification time then by
MD5SUM. Deletes any files that exist in source that don't MD5SUM. Deletes any files that exist in source that don't
exist in destination. Since this can cause data loss, test exist in destination. Since this can cause data loss, test
first with the -dry-run flag. first with the `--dry-run` flag.
rclone ls [remote:path] rclone ls [remote:path]
@ -92,7 +90,7 @@ List all the objects in the the path.
rclone lsd [remote:path] rclone lsd [remote:path]
List all directoryes/objects/buckets in the the path. List all directories/objects/buckets in the the path.
rclone mkdir remote:path rclone mkdir remote:path
@ -114,17 +112,23 @@ 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
* `-transfers=4`: Number of file transfers to run in parallel. ```
* `-checkers=8`: Number of MD5SUM checkers to run in parallel. --checkers=8: Number of checkers to run in parallel.
* `-dry-run=false`: Do a trial run with no permanent changes --config="~/.rclone.conf": Config file.
* `-modify-window=1ns`: Max time difference to be considered the same - this is automatically set usually -n, --dry-run=false: Do a trial run with no permanent changes
* `-quiet=false`: Print as little stuff as possible --modify-window=1ns: Max time diff to be considered the same
* `-stats=1m0s`: Interval to print stats -q, --quiet=false: Print as little stuff as possible
* `-verbose=false`: Print lots more stuff --stats=1m0s: Interval to print stats
--transfers=4: Number of file transfers to run in parallel.
-v, --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
---------------- ----------------
@ -133,7 +137,7 @@ Paths are specified as normal filesystem paths, so
rclone sync /home/source /tmp/destination rclone sync /home/source /tmp/destination
Will sync source to destination Will sync `/home/source` to `/tmp/destination`
Swift / Rackspace cloudfiles / Memset Memstore Swift / Rackspace cloudfiles / Memset Memstore
---------------------------------------------- ----------------------------------------------
@ -170,7 +174,7 @@ Google drive
Paths are specified as drive:path Drive paths may be as deep as required. Paths are specified as drive:path Drive paths may be as deep as required.
The initial setup for drive involves getting a token from Google drive The initial setup for drive involves getting a token from Google drive
which you need to do in your browser. The `rclone config` walks you which you need to do in your browser. `rclone config` walks you
through it. through it.
To copy a local directory to a drive directory called backup To copy a local directory to a drive directory called backup
@ -228,7 +232,7 @@ The project website is at:
* https://github.com/ncw/rclone * https://github.com/ncw/rclone
There you can file bug reports, ask for help or contribute patches. There you can file bug reports, ask for help or send pull requests.
Authors Authors
------- -------

View file

@ -2,7 +2,7 @@
title: "Rclone" title: "Rclone"
description: "rclone syncs files to and from Google Drive, S3, Swift and Cloudfiles." description: "rclone syncs files to and from Google Drive, S3, Swift and Cloudfiles."
type: page type: page
date: "2014-03-19" date: "2014-04-26"
groups: ["about"] groups: ["about"]
--- ---
@ -11,7 +11,7 @@ Rclone
[![Logo](/img/rclone-120x120.png)](http://rclone.org/) [![Logo](/img/rclone-120x120.png)](http://rclone.org/)
Sync files and directories to and from Rclone is a command line program to sync files and directories to and from
* Google Drive * Google Drive
* Amazon S3 * Amazon S3

View file

@ -1,12 +1,12 @@
--- ---
title: "Contact" title: "Contact"
description: "Contact the rclone project" description: "Contact the rclone project"
date: "2014-03-19" date: "2014-04-26"
--- ---
Contact the rclone project Contact the rclone project
* [Github project page for source and reporting bugs](http://github.com/ncw/rclone) * [Github project page for source, reporting bugs and pull requests](http://github.com/ncw/rclone)
* <a href="https://plus.google.com/110609214444437761115" rel="publisher">Google+ page for general comments</a></li> * <a href="https://plus.google.com/110609214444437761115" rel="publisher">Google+ page for general comments</a></li>
Or email [Nick Craig-Wood](mailto:nick@craig-wood.com) Or email [Nick Craig-Wood](mailto:nick@craig-wood.com)

View file

@ -1,7 +1,7 @@
--- ---
title: "Documentation" title: "Documentation"
description: "Rclone Documentation" description: "Rclone Documentation"
date: "2014-03-19" date: "2014-04-26"
--- ---
Install Install
@ -9,7 +9,7 @@ Install
Rclone is a Go program and comes as a single binary file. Rclone is a Go program and comes as a single binary file.
[Download the relevant binary.](/downloads/) [Download](/downloads/) the relevant binary.
Or alternatively if you have Go installed use Or alternatively if you have Go installed use
@ -17,15 +17,13 @@ Or alternatively if you have Go installed use
and this will build the binary in `$GOPATH/bin`. and this will build the binary in `$GOPATH/bin`.
You can then modify the source and submit patches.
Configure Configure
--------- ---------
First you'll need to configure rclone. As the object storage systems First you'll need to configure rclone. As the object storage systems
have quite complicated authentication these are kept in a config file have quite complicated authentication these are kept in a config file
`.rclone.conf` in your home directory by default. (You can use the `.rclone.conf` in your home directory by default. (You can use the
`-config` option to choose a different config file.) `--config` option to choose a different config file.)
The easiest way to make the config is to run rclone with the config The easiest way to make the config is to run rclone with the config
option: option:

View file

@ -1,7 +1,7 @@
--- ---
title: "Google drive" title: "Google drive"
description: "Rclone docs for Google drive" description: "Rclone docs for Google drive"
date: "2014-03-19" date: "2014-04-26"
--- ---
Paths are specified as `drive:path` Paths are specified as `drive:path`

View file

@ -1,7 +1,7 @@
--- ---
title: "Local Filesystem" title: "Local Filesystem"
description: "Rclone docs for the local filesystem" description: "Rclone docs for the local filesystem"
date: "2014-03-19" date: "2014-04-26"
--- ---
Local Filesystem Local Filesystem
@ -19,7 +19,7 @@ but it is probably easier not to.
Modified time Modified time
------------- -------------
We read and write the modified time using an accuracy determined by Rclone reads and writes the modified time using an accuracy determined by
the OS. Typically this is 1ns on Linux, 10 ns on Windows and 1 Second the OS. Typically this is 1ns on Linux, 10 ns on Windows and 1 Second
on OS X. on OS X.

View file

@ -1,7 +1,7 @@
--- ---
title: "Amazon S3" title: "Amazon S3"
description: "Rclone docs for Amazon S3" description: "Rclone docs for Amazon S3"
date: "2014-03-19" date: "2014-04-26"
--- ---
Paths are specified as `remote:bucket` or `remote:` Paths are specified as `remote:bucket` or `remote:`

View file

@ -1,7 +1,7 @@
--- ---
title: "Swift" title: "Swift"
description: "Swift" description: "Swift"
date: "2014-03-19" date: "2014-04-26"
--- ---
Swift refers to [Openstack Object Storage](http://www.openstack.org/software/openstack-storage/). Swift refers to [Openstack Object Storage](http://www.openstack.org/software/openstack-storage/).