Skip to content

Commit

Permalink
Update README with fresh usage
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Shishkin <[email protected]>
  • Loading branch information
teran committed Jun 30, 2024
1 parent dabc7cb commit 8d9b7b2
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,33 @@ Usage
```man
Utility to verify files consistency with length, SHA1 and SHA256
Usage:
checksum [FLAG]...
Usage: checksum [FLAG]...
Version:
version: 7d4c766
commit: 7d4c766
built with: go1.12.5
built at: 2019-05-14T23:51:55Z
version: 0.8.6-SNAPSHOT-641103d
built with: go1.22.4
built at: 2024-06-30T06:41:18Z
Description:
checksum creates database (actually just a JSON file) to store file length, SHA1, SHA256
to verify file consistency and report if something goes wrong.
Flags:
--concurrency, -c Amount of routines to spawn at the same time for checksum verification (type: int)
Default value is 8 for your system
--complete Completion for shell (type: bool)
--datadir, -d Data directory path to run new files scan (type: string)
--database, -D Database file path (required) (type: string)
--delete-missed Delete missed files from database (type: bool)
--generate-checksums-only Skip verification step and add new files only (type: bool)
--pattern, -p Pattern to match filenames which checking for new files (type: string)
Default is `.(3fr|ari|arw|bay|crw|cr2|cr3|cap|data|dcs|dcr|drf|eip|erf|fff|gpr|iiq|k25|kdc|mdc|mef|mos|mrw|nef|nrw|obm|orf|pef|ptx|pxn|r3d|raf|raw|rwl|rw2|rwz|sr2|srf|srw|x3f)$`
--skip-failed, --sf Skip FAIL verification results from output (type: bool)
--skip-missed, --sm Skip MISS verification results from output (type: bool)
--skip-ok, --so Skip OK verification results from output (type: bool)
--progressbar Show progress bar instead of printing handled files (type: bool)
--version, -V Print application and Golang versions (type: bool)
-h, --help show help (type: bool)
--concurrency, -c Amount of routines to spawn at the same time for checksum verification (type: int)
Default value is 20 for your system
--complete Completion for shell (type: bool)
--datadir, -d Data directory path to run new files scan (type: string)
--database, -D Database file path (required) (type: string)
--delete-missed Delete missed files from database (type: bool)
--generate-checksums-only Skip verification step and add new files only (type: bool)
--pattern, -p Pattern to match filenames which checking for new files (type: string)
Default is `.(3fr|ari|arw|bay|crw|cr2|cr3|cap|data|dcs|dcr|drf|eip|erf|fff|gpr|iiq|k25|kdc|mdc|mef|mos|mrw|nef|nrw|obm|orf|pef|ptx|pxn|r3d|raf|raw|rwl|rw2|rwz|sr2|srf|srw|x3f)$`
--skip-failed, --sf Skip FAIL verification results from output (type: bool)
--skip-missed, --sm Skip MISS verification results from output (type: bool)
--skip-ok, --so Skip OK verification results from output (type: bool)
--progressbar Show progress bar instead of printing handled files (type: bool)
--version, -V Print application and Golang versions (type: bool)
-h, --help show help (type: bool)
```


Check failure on line 42 in README.md

View workflow job for this annotation

GitHub Actions / markdownlint

Multiple consecutive blank lines [Expected: 1; Actual: 2]
Expand Down

0 comments on commit 8d9b7b2

Please sign in to comment.