Scroll to navigation

PAPERWORK-CLI(1) User commands PAPERWORK-CLI(1)

NAME

paperwork-cli - cli interface to paperwork

SYNOPSIS

paperwork-cli [-h] command

DESCRIPTION

Interactive shell frontend for Paperwork.

OPTIONS

Show help for paperwork-shell

Synchronize the index(es) with the content of the work directory
Show the content of a document
Pages to show: 1,4 or 1-10 (default: all)



Search keywords in documents
Maximum number of results (default: 50)



Manage scanner configuration
List all scanners and their possible settings
Show the currently selected scanner and its settings
Define which scanner and which settings to use
Default source on the scanner to use (if not specified, one will be selected randomly)
Default resolution (dpi ; default=300)




Scan pages
Document to which the scanned pages must be added

Reset a page to its original content

--pages PAGES, -p PAGES

Change a document identifier
Document to rename
New name for the document

OCR document or pages
Pages to OCR (single integer, range or comma-separated list, default: all pages)

Move a page
Source document
Page to move
Destination document
Target page number

Commands to manage labels
Show labels
Show labels from doc_ids
Document(s)

Add label label_name to document doc_id with optional color COLOR
Remove label label_name from document doc_id
Delete label label_name

Import file(s)
Files to import
Target document for import

Manage additional text attached to documents
Get a document additional text
Set a document additional text

Export a document, a page, or a set of pages.
Document to export
Pages to export (single integer, range or comma-separated list, default: all pages)
Export filters. Specify this option once for each filter to apply (ex: '-f grayscale -f jpeg').
Output file/directory. If not specified, will list the filters that could be chained after those already specified.

Edit page

doc_id

List of image modifiers (comma separated, possible values: ['rotate_clockwise', 'rotate_counterclockwise', 'color_equalization'])

--pages, -p PAGES

Delete a document or a page
Target documents
Pages to delete (single integer, range or comma-separated list, default: all pages)

About Paperwork
Manage paperwork-cli plugins
Show plugins enabled for paperwork-cli
Add plugin in papaerwork-cli
Remove plugin from paperwork-cli
Clean up your mess by resetting the plugin list to its default value
Show information regarding a plugin (must be enabled)

Manage Paperwork configuration
Get a value from Paperwork's configuration
Set a value in Paperwork's configuration
Show Paperwork's configuration
Show value types you can use from command line


EXAMPLE

Export a document:

paperwork-cli export 20150303_2314_39 -p 2 -f img_boxes -f grayscale -f jpeg -o ~/tmp/pouet.jpg


SEE ALSO


AUTHOR

Thomas Perret, 2019-2020

COPYRIGHT

GPL-3.0+

2.0