unidoc / unipdf-cli

CLI for PDF processing using unipdf
Other
112 stars 16 forks source link

Watched folders for compress/optimize with a task queue #17

Closed gunnsth closed 4 years ago

gunnsth commented 5 years ago

Idea:

unicli optimize --watch /folder --out /path/to/outputs

watches /folder for input files, for each new PDF that is seen, puts compress task info on a task queue. Runs a task queue with 4 goroutines (configurable number) which processes each new task and writes the optimized PDF to the output folder.

Upon starting should process the PDF files that are in the folder at the time of starting.

Options