resync-mode newer: Dropbox collab, local is not SoT

This commit is contained in:
2026-09-10 01:16:34 +02:00
parent e94fca5ae1
commit d6c4a120fe
2 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -179,6 +179,7 @@ func bisyncArgs(cfg Config, extra ...string) []string {
"--max-lock", "2h",
"--recover",
"--conflict-resolve", "none",
"--resync-mode", "newer",
}
return append(args, extra...)
}
@@ -215,13 +216,13 @@ func runOnce(cfg Config, acceptResync bool) error {
if !listingsExist(cfg) {
// First use only: never auto --resync after a failed normal run.
if !acceptResync {
notify("rclone-bisync", "No listings — dry-run --resync")
notify("rclone-bisync", "No listings — dry-run --resync --resync-mode newer")
if err := runRclone(cfg, "--dry-run", "--resync"); err != nil {
notify("rclone-bisync dry-run failed", err.Error())
return err
}
}
notify("rclone-bisync", "Live --resync (first listings)")
notify("rclone-bisync", "Live --resync --resync-mode newer (first listings)")
if err := runRclone(cfg, "--resync"); err != nil {
notify("rclone-bisync resync failed", err.Error())
return err