mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 12:57:14 -05:00
Adds a new -d command to filter by disk name.
Renames -A to -a for consistency.
This commit is contained in:
parent
91e74e91b8
commit
a93379f672
11 changed files with 139 additions and 60 deletions
14
snapraid.d
14
snapraid.d
|
|
@ -2,9 +2,10 @@ Name{number}
|
|||
snapraid - SnapRAID Backup For Disk Arrays
|
||||
|
||||
Synopsis
|
||||
:snapraid [-c, --conf CONFIG] [-f, --filter PATTERN] [-H, --filter-nohidden]
|
||||
:snapraid [-c, --conf CONFIG]
|
||||
: [-f, --filter PATTERN] [-d, --filter-disk NAME] [-H, --filter-nohidden]
|
||||
: [-a, --audit-only]
|
||||
: [-N, --find-by-name]
|
||||
: [-A, --audit-only]
|
||||
: [-Z, --force-zero] [-E, --force-empty]
|
||||
: [-s, --start BLKSTART] [-t, --count BLKCOUNT]
|
||||
: [-v, --verbose]
|
||||
|
|
@ -245,12 +246,19 @@ Options
|
|||
This option can be used many times.
|
||||
In Unix, ensure to quote globbing chars if used.
|
||||
|
||||
-d, --filter-disk NAME
|
||||
Filters the files to operate on with the "check" and "fix"
|
||||
commands.
|
||||
This option cannot be used with the "sync" command.
|
||||
You must specify a disk name as named in the configuration
|
||||
file.
|
||||
|
||||
-H, --filter-nohidden
|
||||
Filters out hidden files and directory. In Unix hidden files are
|
||||
the ones starting with '.'. In Windows they are the ones with the
|
||||
hidden attribute.
|
||||
|
||||
-A, --audit-only
|
||||
-a, --audit-only
|
||||
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 "check" command.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue