"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
gendocs: ignore missing rclone_mount.md on macOS
nielash7f5a44435028
diff --git a/cmd/gendocs/gendocs.go b/cmd/gendocs/gendocs.goindex f1186bef2..e185ae9d8 100644--- a/cmd/gendocs/gendocs.go+++ b/cmd/gendocs/gendocs.go@@ -8,6 +8,7 @@ import ("path""path/filepath""regexp"+ "runtime""strings""text/template""time"@@ -91,7 +92,7 @@ rclone.org website.`,Aliases []stringAnnotations map[string]string}- var commands = map[string]commandDetails{}+ commands := map[string]commandDetails{}var addCommandDetails func(root *cobra.Command, parentAliases []string)addCommandDetails = func(root *cobra.Command, parentAliases []string) {name := strings.ReplaceAll(root.CommandPath(), " ", "_") + ".md"@@ -158,7 +159,7 @@ rclone.org website.`,return err}- var outdentTitle = regexp.MustCompile(`(?m)^#(#+)`)+ outdentTitle := regexp.MustCompile(`(?m)^#(#+)`)// Munge the files to add a link to the global flags pageerr = filepath.Walk(out, func(path string, info os.FileInfo, err error) error {@@ -169,6 +170,9 @@ rclone.org website.`,name := filepath.Base(path)cmd, ok := commands[name]if !ok {+ if name == "rclone_mount.md" && runtime.GOOS == "darwin" {+ return nil // won't exist without -tags cmount+ }return fmt.Errorf("didn't find command for %q", name)}b, err := os.ReadFile(path)