mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:41:44 +08:00
sync: update docs and error messages to reflect fixes to overlap checks
This commit is contained in:
parent
11be920e90
commit
8c02fe7b89
|
@ -49,6 +49,11 @@ extended explanation in the [copy](/commands/rclone_copy/) command if unsure.
|
||||||
If dest:path doesn't exist, it is created and the source:path contents
|
If dest:path doesn't exist, it is created and the source:path contents
|
||||||
go there.
|
go there.
|
||||||
|
|
||||||
|
It is not possible to sync overlapping remotes. However, you may exclude
|
||||||
|
the destination from the sync with a filter rule or by putting an
|
||||||
|
exclude-if-present file inside the destination directory and sync to a
|
||||||
|
destination that is inside the source directory.
|
||||||
|
|
||||||
**Note**: Use the ` + "`-P`" + `/` + "`--progress`" + ` flag to view real-time transfer statistics
|
**Note**: Use the ` + "`-P`" + `/` + "`--progress`" + ` flag to view real-time transfer statistics
|
||||||
|
|
||||||
**Note**: Use the ` + "`rclone dedupe`" + ` command to deal with "Duplicate object/directory found in source/destination - ignoring" errors.
|
**Note**: Use the ` + "`rclone dedupe`" + ` command to deal with "Duplicate object/directory found in source/destination - ignoring" errors.
|
||||||
|
|
|
@ -582,7 +582,8 @@ been added) in DIR, then it will be overwritten.
|
||||||
|
|
||||||
The remote in use must support server-side move or copy and you must
|
The remote in use must support server-side move or copy and you must
|
||||||
use the same remote as the destination of the sync. The backup
|
use the same remote as the destination of the sync. The backup
|
||||||
directory must not overlap the destination directory.
|
directory must not overlap the destination directory without it being
|
||||||
|
excluded by a filter rule.
|
||||||
|
|
||||||
For example
|
For example
|
||||||
|
|
||||||
|
|
2
fs/fs.go
2
fs/fs.go
|
@ -40,7 +40,7 @@ var (
|
||||||
ErrorNotAFile = errors.New("is not a regular file")
|
ErrorNotAFile = errors.New("is not a regular file")
|
||||||
ErrorNotDeleting = errors.New("not deleting files as there were IO errors")
|
ErrorNotDeleting = errors.New("not deleting files as there were IO errors")
|
||||||
ErrorNotDeletingDirs = errors.New("not deleting directories as there were IO errors")
|
ErrorNotDeletingDirs = errors.New("not deleting directories as there were IO errors")
|
||||||
ErrorOverlapping = errors.New("can't sync or move files on overlapping remotes")
|
ErrorOverlapping = errors.New("can't sync or move files on overlapping remotes (try excluding the destination with a filter rule)")
|
||||||
ErrorDirectoryNotEmpty = errors.New("directory not empty")
|
ErrorDirectoryNotEmpty = errors.New("directory not empty")
|
||||||
ErrorImmutableModified = errors.New("immutable file modified")
|
ErrorImmutableModified = errors.New("immutable file modified")
|
||||||
ErrorPermissionDenied = errors.New("permission denied")
|
ErrorPermissionDenied = errors.New("permission denied")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user