"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
mount: make mount be cmount under macOS #4393
Nick Craig-Wood0e7fc7613fd4
diff --git a/cmd/cmount/mount.go b/cmd/cmount/mount.goindex 50c755985..38503d8ae 100644--- a/cmd/cmount/mount.go+++ b/cmd/cmount/mount.go@@ -24,10 +24,14 @@ import (func init() {name := "cmount"- if runtime.GOOS == "windows" {+ cmountOnly := runtime.GOOS == "windows" || runtime.GOOS == "darwin"+ if cmountOnly {name = "mount"}- mountlib.NewMountCommand(name, false, mount)+ cmd := mountlib.NewMountCommand(name, false, mount)+ if cmountOnly {+ cmd.Aliases = append(cmd.Aliases, "cmount")+ }mountlib.AddRc("cmount", mount)}