mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
docs: fix description of regex syntax of name transform
This commit is contained in:
committed by
Nick Craig-Wood
parent
bf46ea5611
commit
d5386bb9a7
@@ -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 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 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 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 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 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."},
|
{command: "--name-transform truncate=N", description: "Truncates the file name to a maximum of N characters."},
|
||||||
|
|||||||
Reference in New Issue
Block a user