From 6959c997e2b8922b4aede58ded07bea49b26e483 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 24 Jun 2019 10:25:14 +0100 Subject: [PATCH] config: remove error: can't use --size-only and --ignore-size together. As sometimes they are useful together, for example when the remote changes the sizes of the uploaded files. See: https://forum.rclone.org/t/files-upload-will-be-auto-compress-how-do-i-sync-a-file-to-remote/10578 --- fs/config/configflags/configflags.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/fs/config/configflags/configflags.go b/fs/config/configflags/configflags.go index 58c70b4d5..8ada95e07 100644 --- a/fs/config/configflags/configflags.go +++ b/fs/config/configflags/configflags.go @@ -173,10 +173,6 @@ func SetFlags() { fs.Config.DeleteMode = fs.DeleteModeDefault } - if fs.Config.IgnoreSize && fs.Config.SizeOnly { - log.Fatalf(`Can't use --size-only and --ignore-size together.`) - } - if fs.Config.CompareDest != "" && fs.Config.CopyDest != "" { log.Fatalf(`Can't use --compare-dest with --copy-dest.`) }