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
3. Creates symlinks in:
$PDFDIR/tag2/<year>/filename $PDFDIR/tag2/<year>/filename
$PDFDIR/tag3/<year>/filename $PDFDIR/tag3/<year>/filename
...etc... ...etc...
OPTIONS
-d scan in duplex mode -d scan in duplex mode
-f xxx for given tag, use financial year in path rather than calendar year -f xxx for given tag, use financial year in path rather than calendar year
-h show this text -h show this text
-l list all available scanners -l list all available scanners
-m multi-page mode (prompts to load new pages each time) -m multi-page mode (prompts to load new pages each time)
-M mount $PDFSHARE to $PDFDIR then exit
-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 -p preview document after scanning
-s xxx select scanner to use -s xxx select scanner to use
-T Temporary mode - scan to /tmp/a.pdf -T Temporary mode - scan to /tmp/a.pdf
-v verbose mode
# Examples # Examples