The <SyncFileMask> element allows you to ignore files during synchronization based on a character string in their filenames (including the file extension).
The default behavior is to not skip any files based on name. There can be only one <SyncFileMask> element in the configuration file but you can use regular expressions (regexes) to define complex text patterns. This gives you much flexibility in specifying the files to skip in synchronizations, but you should note that complex regex patterns slow down the files pass.
Character | Meaning |
---|---|
\ | Treat the next character as a literal |
^ | Begins with |
$ | Ends with |
The <SyncFileMask> element supports POSIX regular expressions, so you can use AND (&) and OR (|) operators to create your mask.