Adds a new -d command to filter by disk name.

Renames -A to -a for consistency.
This commit is contained in:
Andrea Mazzoleni 2012-10-10 23:32:09 +02:00
parent 91e74e91b8
commit a93379f672
11 changed files with 139 additions and 60 deletions

View file

@ -2,17 +2,21 @@
.SH NAME
snapraid \(hy SnapRAID Backup For Disk Arrays
.SH SYNOPSIS
snapraid [\(hyc, \(hy\(hyconf CONFIG] [\(hyf, \(hy\(hyfilter PATTERN] [\(hyH, \(hy\(hyfilter\(hynohidden]
snapraid [\(hyc, \(hy\(hyconf CONFIG]
.PD 0
.PP
.PD
[\(hyf, \(hy\(hyfilter PATTERN] [\(hyd, \(hy\(hyfilter\(hydisk NAME] [\(hyH, \(hy\(hyfilter\(hynohidden]
.PD 0
.PP
.PD
[\(hya, \(hy\(hyaudit\(hyonly]
.PD 0
.PP
.PD
[\(hyN, \(hy\(hyfind\(hyby\(hyname]
.PD 0
.PP
.PD
[\(hyA, \(hy\(hyaudit\(hyonly]
.PD 0
.PP
.PD
[\(hyZ, \(hy\(hyforce\(hyzero] [\(hyE, \(hy\(hyforce\(hyempty]
.PD 0
@ -368,12 +372,19 @@ pattern specifications.
This option can be used many times.
In Unix, ensure to quote globbing chars if used.
.TP
.B \(hyd, \(hy\(hyfilter\(hydisk NAME
Filters the files to operate on with the \(a"check\(a" and \(a"fix\(a"
commands.
This option cannot be used with the \(a"sync\(a" command.
You must specify a disk name as named in the configuration
file.
.TP
.B \(hyH, \(hy\(hyfilter\(hynohidden
Filters out hidden files and directory. In Unix hidden files are
the ones starting with \(cq.\(cq. In Windows they are the ones with the
hidden attribute.
.TP
.B \(hyA, \(hy\(hyaudit\(hyonly
.B \(hya, \(hy\(hyaudit\(hyonly
When checking, only verify the hash of the files, without
doing any kind of check on the redundancy data.
This option can be used only with the \(a"check\(a" command.