"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
docs: add some more details about supported regex syntax
albertonybf46ea5611ec
diff --git a/cmd/convmv/convmv.go b/cmd/convmv/convmv.goindex 5a857d703..bb140cfa0 100644--- a/cmd/convmv/convmv.go+++ b/cmd/convmv/convmv.go@@ -34,7 +34,14 @@ var commandDefinition = &cobra.Command{Long: strings.ReplaceAll(`convmv supports advanced path name transformations for converting and renamingfiles and directories by applying prefixes, suffixes, and other alterations.-`+transform.Help()+`Multiple transformations can be used in sequence, applied+`+transform.Help()+`The regex command generally accepts Perl-style regular expressions, the exact+syntax is defined in the [Go regular expression reference](https://golang.org/pkg/regexp/syntax/).+The replacement string may contain capturing group variables, referencing+capturing groups using the syntax ¡$name¡ or ¡${name}¡, where the name can+refer to a named capturing group or it can simply be the index as a number.+To insert a literal $, use $$.++Multiple transformations can be used in sequence, appliedin the order they are specified on the command line.The ¡--name-transform¡ flag is also available in ¡sync¡, ¡copy¡, and ¡move¡.diff --git a/docs/content/filtering.md b/docs/content/filtering.mdindex 62f9ccce1..319dccf5b 100644--- a/docs/content/filtering.md+++ b/docs/content/filtering.md@@ -149,9 +149,9 @@ uses) to make things easy for users. However this does not provideabsolute control over the matching, so for advanced users rclone alsoprovides a regular expression syntax.-The regular expressions used are as defined in the [Go regular-expression reference](https://golang.org/pkg/regexp/syntax/). Regular-expressions should be enclosed in `{{` `}}`. They will match only the+Rclone generally accepts Perl-style regular expressions, the exact syntax+is defined in the [Go regular expression reference](https://golang.org/pkg/regexp/syntax/).+Regular expressions should be enclosed in `{{` `}}`. They will match only thelast path segment if the glob doesn't start with `/` or the whole pathname if it does. Note that rclone does not attempt to parse thesupplied regular expression, meaning that using any regular expression