From 5b8b379febf7a80379f9d128f900b7a7ba8b8cd4 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 2 Jan 2017 15:30:34 +0000 Subject: [PATCH] Version v1.35 --- MANUAL.html | 186 +++++++++- MANUAL.md | 265 ++++++++++++-- MANUAL.txt | 253 +++++++++++-- RELEASE.md | 3 +- docs/content/changelog.md | 38 ++ docs/content/commands/rclone.md | 26 +- docs/content/commands/rclone_authorize.md | 23 +- docs/content/commands/rclone_cat.md | 23 +- docs/content/commands/rclone_check.md | 23 +- docs/content/commands/rclone_cleanup.md | 23 +- docs/content/commands/rclone_config.md | 23 +- docs/content/commands/rclone_copy.md | 23 +- docs/content/commands/rclone_copyto.md | 121 +++++++ docs/content/commands/rclone_dedupe.md | 23 +- docs/content/commands/rclone_delete.md | 23 +- .../commands/rclone_genautocomplete.md | 23 +- docs/content/commands/rclone_gendocs.md | 23 +- docs/content/commands/rclone_listremotes.md | 23 +- docs/content/commands/rclone_ls.md | 23 +- docs/content/commands/rclone_lsd.md | 23 +- docs/content/commands/rclone_lsl.md | 23 +- docs/content/commands/rclone_md5sum.md | 23 +- docs/content/commands/rclone_mkdir.md | 23 +- docs/content/commands/rclone_mount.md | 25 +- docs/content/commands/rclone_move.md | 26 +- docs/content/commands/rclone_moveto.md | 124 +++++++ docs/content/commands/rclone_purge.md | 23 +- docs/content/commands/rclone_rmdir.md | 23 +- docs/content/commands/rclone_rmdirs.md | 102 ++++++ docs/content/commands/rclone_sha1sum.md | 23 +- docs/content/commands/rclone_size.md | 23 +- docs/content/commands/rclone_sync.md | 23 +- docs/content/commands/rclone_version.md | 23 +- docs/content/downloads.md | 44 +-- fs/version.go | 2 +- rclone.1 | 333 ++++++++++++++++-- 36 files changed, 1671 insertions(+), 383 deletions(-) create mode 100644 docs/content/commands/rclone_copyto.md create mode 100644 docs/content/commands/rclone_moveto.md create mode 100644 docs/content/commands/rclone_rmdirs.md diff --git a/MANUAL.html b/MANUAL.html index 751a82c2d..3dbf30c9f 100644 --- a/MANUAL.html +++ b/MANUAL.html @@ -12,7 +12,7 @@

Rclone

Logo

@@ -46,8 +46,8 @@

Install

@@ -168,7 +168,7 @@ destpath/sourcepath/two.txt

rclone move

Move files from source to dest.

Synopsis

-

Moves the contents of the source directory to the destination directory. Rclone will error if the source and destination overlap.

+

Moves the contents of the source directory to the destination directory. Rclone will error if the source and destination overlap and the remote does not support a server side directory move operation.

If no filters are in use and if possible this will server side move source:path into dest:path. After this source:path will no longer longer exist.

Otherwise for each file in source:path selected by the filters (if any) this will move it into dest:path. If possible a server side move will be used, otherwise it will copy it (server side if possible) into dest:path then delete the original (if no errors on copy) in source:path.

Important: Since this can cause data loss, test first with the --dry-run flag.

@@ -325,9 +325,25 @@ two-3.txt: renamed from: two.txt

Or like this to output any .txt files in dir or subdirectories.

rclone --include "*.txt" cat remote:path/to/dir
rclone cat remote:path
+

rclone copyto

+

Copy files from source to dest, skipping already copied

+

Synopsis

+

If source:path is a file or directory then it copies it to a file or directory named dest:path.

+

This can be used to upload single files to other than their current name. If the source is a directory then it acts exactly like the copy command.

+

So

+
rclone copyto src dst
+

where src and dst are rclone paths, either remote:path or /path/to/local or C:.

+

This will:

+
if src is file
+    copy it to dst, overwriting an existing file if it exists
+if src is directory
+    copy it to dst, overwriting existing files if they exist
+    see copy command for full details
+

This doesn't transfer unchanged files, testing by size and modification time or MD5SUM. It doesn't delete files from the destination.

+
rclone copyto source:path dest:path

rclone genautocomplete

Output bash completion script for rclone.

-

Synopsis

+

Synopsis

Generates a bash shell autocompletion script for rclone.

This writes to /etc/bash_completion.d/rclone by default so will probably need to be run with sudo or as root, eg

sudo rclone genautocomplete
@@ -337,12 +353,12 @@ two-3.txt: renamed from: two.txt
rclone genautocomplete [output_file]

rclone gendocs

Output markdown docs for rclone to the directory supplied.

-

Synopsis

+

Synopsis

This produces markdown docs for the rclone commands to the directory supplied. These are in a format suitable for hugo to render into the rclone.org website.

rclone gendocs output_directory

rclone listremotes

List all the remotes in the config file.

-

Synopsis

+

Synopsis

rclone listremotes lists all the available remotes from the config file.

When uses with the -l flag it lists the types too.

rclone listremotes
@@ -350,7 +366,7 @@ two-3.txt: renamed from: two.txt
  -l, --long   Show the type as well as names.

rclone mount

Mount the remote as a mountpoint. EXPERIMENTAL

-

Synopsis

+

Synopsis

rclone mount allows Linux, FreeBSD and macOS to mount any of Rclone's cloud storage systems as a file system with FUSE.

This is EXPERIMENTAL - use with care.

First set up your remote using rclone config. Check it works with rclone ls etc.

@@ -371,7 +387,7 @@ two-3.txt: renamed from: two.txt