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

check: implement --no-traverse and --no-unicode-normalization

Nick Craig-Wood4f94b2780035
diff --git a/fs/operations/check.go b/fs/operations/check.go
index 12c63e701..a7a52e299 100644
--- a/fs/operations/check.go
+++ b/fs/operations/check.go
@@ -219,11 +219,13 @@ func CheckFn(ctx context.Context, opt *CheckOpt) error {
// set up a march over fdst and fsrc
m := &march.March{
- Ctx: ctx,
- Fdst: c.opt.Fdst,
- Fsrc: c.opt.Fsrc,
- Dir: "",
- Callback: c,
+ Ctx: ctx,
+ Fdst: c.opt.Fdst,
+ Fsrc: c.opt.Fsrc,
+ Dir: "",
+ Callback: c,
+ NoTraverse: ci.NoTraverse,
+ NoUnicodeNormalization: ci.NoUnicodeNormalization,
}
fs.Debugf(c.opt.Fdst, "Waiting for checks to finish")
err := m.Run(ctx)