Feature Request: Option to move non PDF to Output Folder
Hello, I use your container for my paperless office, and it works great. The scanner stores the PDF in a folder (Input) on my server which the users don't have access to. Then ocrmypdf-auto does its work and saves the finished PDF on a shared drive. From time to time images (JPG) are also scanned. These scans are not processed by ocrmypdf-auto because the file extension is not *.pdf, this is correct. Would it be possible to include an option to simply move files that do not end with *.pdf to the Output folder?
Hi @MrReSc - I like the idea... I will take a look at the code and see how much effort it would be to start taking actions on non-PDF files.
I can imagine a few different actions being interesting:
- As you suggest, just move the file to the output folder.
- Convert the file to a PDF and attempt the same OCR over it.
Thank you for looking at my proposal. If I could test something, I would of course help you.