update readme again

This commit is contained in:
Rob Pearce 2022-07-10 11:48:37 +10:00
parent 00c2db4775
commit cb2c50f973
1 changed files with 19 additions and 16 deletions

View File

@ -20,25 +20,28 @@ Bash wrapper for [scanline](https://github.com/klep/scanline) to allow for fast
# Usage # Usage
rpearce@crom:scan$ ./scan rpearce@crom:scan$ ./scan
[processing /Users/rpearce/.scanrc]
[tag tax will use financial year paths]
[preview enabled]
usage: ./scan [OPTIONS] filename tag1 [tag2] [tag3] ... [tagX] usage: ./scan [OPTIONS] filename tag1 [tag2] [tag3] ... [tagX]
Scans to: $PDFDIR/tag1/<year>/filename 1. Mounts $PDFSHARE to $PDFDIR
Creates symlinks in: 2. Scans to: $PDFDIR/tag1/<year>/filename
$PDFDIR/tag2/<year>/filename 3. Creates symlinks in:
$PDFDIR/tag3/<year>/filename $PDFDIR/tag2/<year>/filename
...etc... $PDFDIR/tag3/<year>/filename
...etc...
-d scan in duplex mode OPTIONS
-f xxx for given tag, use financial year in path rather than calendar year -d scan in duplex mode
-h show this text -f xxx for given tag, use financial year in path rather than calendar year
-l list all available scanners -h show this text
-m multi-page mode (prompts to load new pages each time) -l list all available scanners
-p preview document after scanning -m multi-page mode (prompts to load new pages each time)
-s xxx select scanner to use -M mount $PDFSHARE to $PDFDIR then exit
-T Temporary mode - scan to /tmp/a.pdf -o use ocrmypdf to straighten document, extract text into pdf and use tags as keyword metadata
-O xxx specify path to ocrmypdf
-p preview document after scanning
-s xxx select scanner to use
-T Temporary mode - scan to /tmp/a.pdf
-v verbose mode
# Examples # Examples