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

cmd/mount: --fast-list does nothing on a mount

Ivan Andreev448a03181fa9
diff --git a/cmd/mountlib/mount.go b/cmd/mountlib/mount.go
index 072b3afff..2a9f6fba6 100644
--- a/cmd/mountlib/mount.go
+++ b/cmd/mountlib/mount.go
@@ -1,6 +1,7 @@
package mountlib
import (
+ "context"
"log"
"os"
"path/filepath"
@@ -128,6 +129,10 @@ func NewMountCommand(commandName string, hidden bool, mount MountFn) *cobra.Comm
Run: func(command *cobra.Command, args []string) {
cmd.CheckArgs(2, 2, command, args)
+ if fs.GetConfig(context.Background()).UseListR {
+ fs.Logf(nil, "--fast-list does nothing on a mount")
+ }
+
if Opt.Daemon {
config.PassConfigKeyForDaemonization = true
}