"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
mount2: hide mount2 command for the moment
Nick Craig-Woodec1271818f45
diff --git a/cmd/cmount/mount.go b/cmd/cmount/mount.goindex 4c11b470d..330029d0b 100644--- a/cmd/cmount/mount.go+++ b/cmd/cmount/mount.go@@ -31,7 +31,7 @@ func init() {if runtime.GOOS == "windows" {name = "mount"}- mountlib.NewMountCommand(name, Mount)+ mountlib.NewMountCommand(name, false, Mount)}// mountOptions configures the options from the command line flagsdiff --git a/cmd/mount/mount.go b/cmd/mount/mount.goindex a0cc958f6..c5fc7f1a4 100644--- a/cmd/mount/mount.go+++ b/cmd/mount/mount.go@@ -22,7 +22,7 @@ import ()func init() {- mountlib.NewMountCommand("mount", Mount)+ mountlib.NewMountCommand("mount", false, Mount)}// mountOptions configures the options from the command line flagsdiff --git a/cmd/mount2/mount.go b/cmd/mount2/mount.goindex fc6362639..3e6da0152 100644--- a/cmd/mount2/mount.go+++ b/cmd/mount2/mount.go@@ -23,7 +23,7 @@ import ()func init() {- mountlib.NewMountCommand("mount2", Mount)+ mountlib.NewMountCommand("mount2", true, Mount)}// mountOptions configures the options from the command line flagsdiff --git a/cmd/mountlib/mount.go b/cmd/mountlib/mount.goindex 78479a79f..30d30dda6 100644--- a/cmd/mountlib/mount.go+++ b/cmd/mountlib/mount.go@@ -98,10 +98,11 @@ func checkMountpointOverlap(root, mountpoint string) error {}// NewMountCommand makes a mount command with the given name and Mount function-func NewMountCommand(commandName string, Mount func(f fs.Fs, mountpoint string) error) *cobra.Command {+func NewMountCommand(commandName string, hidden bool, Mount func(f fs.Fs, mountpoint string) error) *cobra.Command {var commandDefinition = &cobra.Command{- Use: commandName + " remote:path /path/to/mountpoint",- Short: `Mount the remote as file system on a mountpoint.`,+ Use: commandName + " remote:path /path/to/mountpoint",+ Hidden: hidden,+ Short: `Mount the remote as file system on a mountpoint.`,Long: `rclone ` + commandName + ` allows Linux, FreeBSD, macOS and Windows tomount any of Rclone's cloud storage systems as a file system with