mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
Version v1.66.0
This commit is contained in:
@@ -4,6 +4,7 @@ description: "Perform bidirectional synchronization between two paths."
|
||||
slug: rclone_bisync
|
||||
url: /commands/rclone_bisync/
|
||||
groups: Filter,Copy,Important
|
||||
status: Beta
|
||||
versionIntroduced: v1.58
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/bisync/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
@@ -23,6 +24,11 @@ On each successive run it will:
|
||||
Changes include `New`, `Newer`, `Older`, and `Deleted` files.
|
||||
- Propagate changes on Path1 to Path2, and vice-versa.
|
||||
|
||||
Bisync is **in beta** and is considered an **advanced command**, so use with care.
|
||||
Make sure you have read and understood the entire [manual](https://rclone.org/bisync)
|
||||
(especially the [Limitations](https://rclone.org/bisync/#limitations) section) before using,
|
||||
or data loss can result. Questions can be asked in the [Rclone Forum](https://forum.rclone.org/).
|
||||
|
||||
See [full bisync description](https://rclone.org/bisync/) for details.
|
||||
|
||||
|
||||
@@ -33,20 +39,31 @@ rclone bisync remote1:path1 remote2:path2 [flags]
|
||||
## Options
|
||||
|
||||
```
|
||||
--check-access Ensure expected RCLONE_TEST files are found on both Path1 and Path2 filesystems, else abort.
|
||||
--check-filename string Filename for --check-access (default: RCLONE_TEST)
|
||||
--check-sync string Controls comparison of final listings: true|false|only (default: true) (default "true")
|
||||
--create-empty-src-dirs Sync creation and deletion of empty directories. (Not compatible with --remove-empty-dirs)
|
||||
--filters-file string Read filtering patterns from a file
|
||||
--force Bypass --max-delete safety check and run the sync. Consider using with --verbose
|
||||
-h, --help help for bisync
|
||||
--ignore-listing-checksum Do not use checksums for listings (add --ignore-checksum to additionally skip post-copy checksum checks)
|
||||
--localtime Use local time in listings (default: UTC)
|
||||
--no-cleanup Retain working files (useful for troubleshooting and testing).
|
||||
--remove-empty-dirs Remove ALL empty directories at the final cleanup step.
|
||||
--resilient Allow future runs to retry after certain less-serious errors, instead of requiring --resync. Use at your own risk!
|
||||
-1, --resync Performs the resync run. Path1 files may overwrite Path2 versions. Consider using --verbose or --dry-run first.
|
||||
--workdir string Use custom working dir - useful for testing. (default: $HOME/.cache/rclone/bisync)
|
||||
--backup-dir1 string --backup-dir for Path1. Must be a non-overlapping path on the same remote.
|
||||
--backup-dir2 string --backup-dir for Path2. Must be a non-overlapping path on the same remote.
|
||||
--check-access Ensure expected RCLONE_TEST files are found on both Path1 and Path2 filesystems, else abort.
|
||||
--check-filename string Filename for --check-access (default: RCLONE_TEST)
|
||||
--check-sync string Controls comparison of final listings: true|false|only (default: true) (default "true")
|
||||
--compare string Comma-separated list of bisync-specific compare options ex. 'size,modtime,checksum' (default: 'size,modtime')
|
||||
--conflict-loser ConflictLoserAction Action to take on the loser of a sync conflict (when there is a winner) or on both files (when there is no winner): , num, pathname, delete (default: num)
|
||||
--conflict-resolve string Automatically resolve conflicts by preferring the version that is: none, path1, path2, newer, older, larger, smaller (default: none) (default "none")
|
||||
--conflict-suffix string Suffix to use when renaming a --conflict-loser. Can be either one string or two comma-separated strings to assign different suffixes to Path1/Path2. (default: 'conflict')
|
||||
--create-empty-src-dirs Sync creation and deletion of empty directories. (Not compatible with --remove-empty-dirs)
|
||||
--download-hash Compute hash by downloading when otherwise unavailable. (warning: may be slow and use lots of data!)
|
||||
--filters-file string Read filtering patterns from a file
|
||||
--force Bypass --max-delete safety check and run the sync. Consider using with --verbose
|
||||
-h, --help help for bisync
|
||||
--ignore-listing-checksum Do not use checksums for listings (add --ignore-checksum to additionally skip post-copy checksum checks)
|
||||
--max-lock Duration Consider lock files older than this to be expired (default: 0 (never expire)) (minimum: 2m) (default 0s)
|
||||
--no-cleanup Retain working files (useful for troubleshooting and testing).
|
||||
--no-slow-hash Ignore listing checksums only on backends where they are slow
|
||||
--recover Automatically recover from interruptions without requiring --resync.
|
||||
--remove-empty-dirs Remove ALL empty directories at the final cleanup step.
|
||||
--resilient Allow future runs to retry after certain less-serious errors, instead of requiring --resync. Use at your own risk!
|
||||
-1, --resync Performs the resync run. Equivalent to --resync-mode path1. Consider using --verbose or --dry-run first.
|
||||
--resync-mode string During resync, prefer the version that is: path1, path2, newer, older, larger, smaller (default: path1 if --resync, otherwise none for no resync.) (default "none")
|
||||
--slow-hash-sync-only Ignore slow checksums for listings and deltas, but still consider them during sync calls.
|
||||
--workdir string Use custom working dir - useful for testing. (default: {WORKDIR})
|
||||
```
|
||||
|
||||
|
||||
@@ -64,7 +81,7 @@ Flags for anything which can Copy a file.
|
||||
--ignore-checksum Skip post copy check of checksums
|
||||
--ignore-existing Skip all files that exist on destination
|
||||
--ignore-size Ignore size when skipping use modtime or checksum
|
||||
-I, --ignore-times Don't skip files that match size and time - transfer all files
|
||||
-I, --ignore-times Don't skip items that match size and time - transfer all unconditionally
|
||||
--immutable Do not modify files, fail if existing files have been modified
|
||||
--inplace Download directly to destination file instead of atomic download to temp/rename
|
||||
--max-backlog int Maximum number of objects in sync or check backlog (default 10000)
|
||||
@@ -78,6 +95,7 @@ Flags for anything which can Copy a file.
|
||||
--multi-thread-write-buffer-size SizeSuffix In memory buffer size for writing when in multi-thread mode (default 128Ki)
|
||||
--no-check-dest Don't check the destination, copy regardless
|
||||
--no-traverse Don't traverse destination file system on copy
|
||||
--no-update-dir-modtime Don't update directory modification times
|
||||
--no-update-modtime Don't update destination modtime if files identical
|
||||
--order-by string Instructions on how to order the transfers, e.g. 'size,descending'
|
||||
--partial-suffix string Add partial-suffix to temporary file name when --inplace is not used (default ".partial")
|
||||
|
||||
Reference in New Issue
Block a user