mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-20 23:16:28 -05:00
Add support for escaping in Windows with the '^' char
This commit is contained in:
parent
ecff017ffe
commit
8fbd8b35ea
5 changed files with 45 additions and 7 deletions
|
|
@ -1550,7 +1550,7 @@ There are four different types of patterns:
|
|||
.TP
|
||||
.B FILE
|
||||
Selects any file named as FILE. You can use any globbing
|
||||
character like * and ?.
|
||||
character like * and ?, and char classes like [a\-z].
|
||||
This pattern is applied only to files and not to directories.
|
||||
.TP
|
||||
.B DIR/
|
||||
|
|
@ -1578,6 +1578,12 @@ Note that Windows system directories, junctions, mount points, and any
|
|||
other Windows special directory are treated just as files, meaning that
|
||||
to exclude them you must use a file rule, and not a directory one.
|
||||
.PP
|
||||
If the file name you want to use really contains a \'*\', \'?\', \'[\',
|
||||
or \']\' char, you have to escape it to avoid to have interpreted as a
|
||||
globbing character. In Unix the escape char is \'\\\' in Windows it\'s \'^\'.
|
||||
Note that when the pattern is on the command line, you have to double the
|
||||
escape character to avoid to have it interpreted by the command shell.
|
||||
.PP
|
||||
In the configuration file, you can use different strategies to filter
|
||||
the files to process.
|
||||
The simplest one is to use only \[dq]exclude\[dq] rules to remove all the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue