Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

docs: Removed ambiguity from copy command docs

Justin Hellings359648e002eb
diff --git a/cmd/copy/copy.go b/cmd/copy/copy.go
index 9ec871b89..887024450 100644
--- a/cmd/copy/copy.go
+++ b/cmd/copy/copy.go
@@ -23,12 +23,12 @@ func init() {
var commandDefinition = &cobra.Command{
Use: "copy source:path dest:path",
- Short: `Copy files from source to dest, skipping already copied.`,
+ Short: `Copy files from source to dest, skipping identical files.`,
// Note: "|" will be replaced by backticks below
Long: strings.ReplaceAll(`
-Copy the source to the destination. Doesn't transfer
-unchanged files, testing by size and modification time or
-MD5SUM. Doesn't delete files from the destination.
+Copy the source to the destination. Does not transfer files that are
+identical on source and destination, testing by size and modification
+time or MD5SUM. Doesn't delete files from the destination.
Note that it is always the contents of the directory that is synced,
not the directory so when source:path is a directory, it's the
diff --git a/cmd/copyto/copyto.go b/cmd/copyto/copyto.go
index f524a9c27..ed6ff7b16 100644
--- a/cmd/copyto/copyto.go
+++ b/cmd/copyto/copyto.go
@@ -15,7 +15,7 @@ func init() {
var commandDefinition = &cobra.Command{
Use: "copyto source:path dest:path",
- Short: `Copy files from source to dest, skipping already copied.`,
+ Short: `Copy files from source to dest, skipping identical files.`,
Long: `
If source:path is a file or directory then it copies it to a file or
directory named dest:path.
@@ -39,9 +39,9 @@ This will:
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.
+This doesn't transfer files that are identical on src and dst, testing
+by size and modification time or MD5SUM. It doesn't delete files from
+the destination.
**Note**: Use the ` + "`-P`" + `/` + "`--progress`" + ` flag to view real-time transfer statistics
`,
diff --git a/cmd/moveto/moveto.go b/cmd/moveto/moveto.go
index d571e96f2..8390371db 100644
--- a/cmd/moveto/moveto.go
+++ b/cmd/moveto/moveto.go
@@ -39,9 +39,9 @@ This will:
move it to dst, overwriting existing files if they exist
see move command for full details
-This doesn't transfer unchanged files, testing by size and
-modification time or MD5SUM. src will be deleted on successful
-transfer.
+This doesn't transfer files that are identical on src and dst, testing
+by size and modification time or MD5SUM. src will be deleted on
+successful transfer.
**Important**: Since this can cause data loss, test first with the
` + "`--dry-run` or the `--interactive`/`-i`" + ` flag.
diff --git a/cmd/sync/sync.go b/cmd/sync/sync.go
index 08503b17a..0b253b041 100644
--- a/cmd/sync/sync.go
+++ b/cmd/sync/sync.go
@@ -25,10 +25,10 @@ var commandDefinition = &cobra.Command{
Short: `Make source and dest identical, modifying destination only.`,
Long: `
Sync the source to the destination, changing the destination
-only. Doesn't transfer unchanged files, testing by size and
-modification time or MD5SUM. Destination is updated to match
-source, including deleting files if necessary (except duplicate
-objects, see below).
+only. Doesn't transfer files that are identical on source and
+destination, testing by size and modification time or MD5SUM.
+Destination is updated to match source, including deleting files
+if necessary (except duplicate objects, see below).
**Important**: Since this can cause data loss, test first with the
` + "`--dry-run` or the `--interactive`/`-i`" + ` flag.