mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04: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.1
25
snapraid.1
|
|
@ -1082,8 +1082,8 @@ character like * and ?.
|
|||
This pattern is applied only to files and not to directories.
|
||||
.TP
|
||||
.B 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.
|
||||
.TP
|
||||
.B /PATH/FILE
|
||||
|
|
@ -1093,17 +1093,18 @@ directory slash.
|
|||
This pattern is applied only to files and not to directories.
|
||||
.TP
|
||||
.B /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.
|
||||
.PP
|
||||
In Windows you can freely use the backslash \(rs instead of the forward slash /.
|
||||
Note that when you specify an absolute path starting with /, it\(cqs
|
||||
applied at the array root dir and not at the local filesystem root dir.
|
||||
.PP
|
||||
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 \(rs 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.
|
||||
.PP
|
||||
In the configuration file, you can use different strategies to filter
|
||||
the files to process.
|
||||
|
|
@ -1218,8 +1219,8 @@ snapraid \-f \(a"*.mp3\(a" check
|
|||
.PD
|
||||
.RE
|
||||
.PP
|
||||
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.
|
||||
.SH RECOVERING
|
||||
The worst happened, and you lost a disk!
|
||||
.PP
|
||||
|
|
|
|||
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!
|
||||
|
|
|
|||
25
snapraid.txt
25
snapraid.txt
|
|
@ -867,8 +867,8 @@ There are four different types of patterns:
|
|||
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
|
||||
|
|
@ -878,17 +878,18 @@ There are four different types of patterns:
|
|||
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.
|
||||
|
|
@ -932,8 +933,8 @@ patterns. For example:
|
|||
# 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.
|
||||
|
||||
|
||||
9 RECOVERING
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue