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

local: make nounc advanced option except on windows

albertonyaab076029fb7
diff --git a/backend/local/local.go b/backend/local/local.go
index 95ba16ed1..18f399250 100644
--- a/backend/local/local.go
+++ b/backend/local/local.go
@@ -42,8 +42,9 @@ func init() {
NewFs: NewFs,
CommandHelp: commandHelp,
Options: []fs.Option{{
- Name: "nounc",
- Help: "Disable UNC (long path names) conversion on Windows",
+ Name: "nounc",
+ Help: "Disable UNC (long path names) conversion on Windows",
+ Advanced: runtime.GOOS != "windows",
Examples: []fs.OptionExample{{
Value: "true",
Help: "Disables long file names",