0

Where can I locate the config.yaml file for pypdfocr?

In the pypdfocr release info, it mentions a config file I can use to specify where the OCR'ed documents are filed.

For example: pypdfocr filename.pdf -f -c config.yaml where the config.yaml file is like this:

target_folder: "docs/filed"
default_folder: "docs/filed/manual_sort"
original_move_folder: "docs/originals"

folders:
    finances:
        - american express
        - chase card
        - internal revenue service
    travel:
        - boarding pass
        - airlines
        - expedia
        - orbitz
    receipts:
        - receipt

The problem is, I don't know where this file is so I can customize to my own situation. Any ideas? On a Mac 10.10.

Neue1987
  • 171
  • 1
  • 2
  • 13

1 Answers1

0

Just provide a full path to it when you pass it as the parameter, or start pypdfocr in the location as your config.yaml file.

csaladenes
  • 1,100
  • 1
  • 11
  • 27