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

docs: fix description of regex syntax of name transform

albertonyd5386bb9a74b
diff --git a/lib/transform/gen_help.go b/lib/transform/gen_help.go
index 75bbb18d6..ec93ea2a0 100644
--- a/lib/transform/gen_help.go
+++ b/lib/transform/gen_help.go
@@ -33,7 +33,7 @@ var commandList = []commands{
{command: "--name-transform suffix_keep_extension=XXXX", description: "Appends XXXX to the file name while preserving the original file extension."},
{command: "--name-transform trimprefix=XXXX", description: "Removes XXXX if it appears at the start of the file name."},
{command: "--name-transform trimsuffix=XXXX", description: "Removes XXXX if it appears at the end of the file name."},
- {command: "--name-transform regex=/pattern/replacement/", description: "Applies a regex-based transformation."},
+ {command: "--name-transform regex=pattern/replacement", description: "Applies a regex-based transformation."},
{command: "--name-transform replace=old:new", description: "Replaces occurrences of old with new in the file name."},
{command: "--name-transform date={YYYYMMDD}", description: "Appends or prefixes the specified date format."},
{command: "--name-transform truncate=N", description: "Truncates the file name to a maximum of N characters."},