"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
Tidy the help
Nick Craig-Wood5575ee293317
diff --git a/README.md b/README.mdindex d943d157c..e9280204d 100644--- a/README.md+++ b/README.md@@ -44,11 +44,12 @@ have quite complicated authentication these are kept in a config fileThe easiest way to make the config is to run rclone with the configoption, Eg-rclone config+ rclone configHere is an example of making an s3 configuration```+$ rclone configNo remotes found - make a new onen) New remoteq) Quit config@@ -126,6 +127,8 @@ rclone ls remote:// - list a bucketrclone sync /home/local/directory remote://bucket```+See the next section for more details.+Usage-----@@ -135,16 +138,18 @@ Its basic syntax is like thisSyntax: [options] subcommand <parameters> <parameters...>-Each subcommand looks like this. See below for how to specify the-source and destination paths.+See below for how to specify the source and destination paths.++Subcommands+------------rclone copy source://path dest://path+ rclone copy source://path dest://pathCopy the source to the destination. Doesn't transferunchanged files, testing first by modification time then byMD5SUM. Doesn't delete files from the destination.-rclone sync source://path dest://path+ rclone sync source://path dest://pathSync the source to the destination. Doesn't transferunchanged files, testing first by modification time then by@@ -152,45 +157,45 @@ MD5SUM. Deletes any files that exist in source that don'texist in destination. Since this can cause data loss, testfirst with the -dry-run flag.-rclone ls [remote://path]+ rclone ls [remote://path]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.-rclone mkdir remote://path+ rclone mkdir remote://pathMake the path if it doesn't already exist-rclone rmdir remote://path+ rclone rmdir remote://pathRemove the path. Note that you can't remove a path withobjects in it, use purge for that.-rclone purge remote://path+ rclone purge remote://pathRemove the path and all of its contents.-rclone check source://path dest://path+ rclone check source://path dest://pathChecks the files in the source and destination match. Itcompares sizes and MD5SUMs and prints a report of files whichdon't match. It doesn't alter the source or destination.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.- -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- -quiet=false: Print as little stuff as possible- -stats=1m0s: Interval to print stats- -verbose=false: Print lots more stuff+ * `-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.+ * `-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+ * `-quiet=false`: Print as little stuff as possible+ * `-stats=1m0s`: Interval to print stats+ * `-verbose=false`: Print lots more stuffDeveloper options:- -cpuprofile="": Write cpu profile to file+ * `-cpuprofile=""`: Write cpu profile to fileLocal Filesystem----------------@@ -204,15 +209,15 @@ Will sync source to destinationSwift / Rackspace cloudfiles / Memset Memstore-----------------------------------------------Paths are specified as remote://container or remote:// for the lsd-command.+Paths are specified as remote://container (or remote:// for the `lsd`+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://backupThe 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-swiftclientamongst others) for storing the modification time (as read using@@ -225,10 +230,10 @@ Paths are specified as remote://bucketSo to copy a local directory to a s3 container called backup-rclone sync /home/source s3://backup+ rclone sync /home/source s3://backupThe 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------------