mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-20 15:06:34 -05:00
Clarifies the path usage in the filter rules.
This commit is contained in:
parent
81f2fde927
commit
2f0b2178b2
3 changed files with 39 additions and 36 deletions
25
snapraid.d
25
snapraid.d
|
|
@ -798,8 +798,8 @@ Pattern
|
|||
This pattern is applied only to files and not to directories.
|
||||
|
||||
=DIR/
|
||||
Selects any directory named DIR. You can use any globbing
|
||||
character like * and ?.
|
||||
Selects any directory named DIR and everything inside.
|
||||
You can use any globbing character like * and ?.
|
||||
This pattern is applied only to directories and not to files.
|
||||
|
||||
=/PATH/FILE
|
||||
|
|
@ -809,17 +809,18 @@ Pattern
|
|||
This pattern is applied only to files and not to directories.
|
||||
|
||||
=/PATH/DIR/
|
||||
Selects the exact specified directory path. You can use any
|
||||
globbing character like * and ? but they never match a
|
||||
directory slash.
|
||||
Selects the exact specified directory path and everything
|
||||
inside. You can use any globbing character like * and ? but
|
||||
they never match a directory slash.
|
||||
This pattern is applied only to directories and not to files.
|
||||
|
||||
In Windows you can freely use the backslash \ instead of the forward slash /.
|
||||
Note that when you specify an absolute path starting with /, it's
|
||||
applied at the array root dir and not at the local filesystem root dir.
|
||||
|
||||
Note that Windows system directories, junction to directories,
|
||||
mount points, and any other Windows special directory is treated just
|
||||
as a file, meaning that to exclude it you must use a file rule, and
|
||||
not a directory one.
|
||||
In Windows you can use the backslash \ instead of the forward slash /.
|
||||
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.
|
||||
|
||||
In the configuration file, you can use different strategies to filter
|
||||
the files to process.
|
||||
|
|
@ -863,8 +864,8 @@ Pattern
|
|||
:# Note the "" use to avoid globbing expansion by the shell in Unix.
|
||||
:snapraid -f "*.mp3" check
|
||||
|
||||
In Unix, when using globbing chars in the command line, you have to quote them.
|
||||
Otherwise the shell will try to expand them.
|
||||
In Unix, when using globbing chars in the command line, you have to
|
||||
quote them. Otherwise the shell will try to expand them.
|
||||
|
||||
Recovering
|
||||
The worst happened, and you lost a disk!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue