"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
dedupe: make dedupe obey the filters
Nick Craig-Woodbe6f29930b98
diff --git a/fs/operations/dedupe.go b/fs/operations/dedupe.goindex ca4376a29..1d3eff9c0 100644--- a/fs/operations/dedupe.go+++ b/fs/operations/dedupe.go@@ -284,7 +284,7 @@ func dedupeFindDuplicateDirs(ctx context.Context, f fs.Fs) (duplicateDirs [][]*ddirs := map[string][]*dedupeDir{}ci := fs.GetConfig(ctx)- err = walk.ListR(ctx, f, "", true, ci.MaxDepth, walk.ListAll, func(entries fs.DirEntries) error {+ err = walk.ListR(ctx, f, "", false, ci.MaxDepth, walk.ListAll, func(entries fs.DirEntries) error {for _, entry := range entries {tr := accounting.Stats(ctx).NewCheckingTransfer(entry)@@ -436,7 +436,7 @@ func Deduplicate(ctx context.Context, f fs.Fs, mode DeduplicateMode, byHash bool// Now find duplicate filesfiles := map[string][]fs.Object{}- err := walk.ListR(ctx, f, "", true, ci.MaxDepth, walk.ListObjects, func(entries fs.DirEntries) error {+ err := walk.ListR(ctx, f, "", false, ci.MaxDepth, walk.ListObjects, func(entries fs.DirEntries) error {entries.ForObject(func(o fs.Object) {tr := accounting.Stats(ctx).NewCheckingTransfer(o)defer tr.Done(ctx, nil)