Comment on 💞 FairScan > Syncthing > Paperlees-ngx
llii@discuss.tchncs.de 1 day ago
No, I use a printer/scanner combo for scanning my files. I trigger a shell script via HomeAssistant which starts the scanner, cleans and fixes the order of the pages for two sided documents, and then puts them into the paperless folder.
RazzleDazzle@discuss.tchncs.de 1 day ago
would you mind to elaborate more on the script? Also, what output format do you use from the scanner?
llii@discuss.tchncs.de 1 day ago
Its a hacked together shell script. I wanted to learn shell scripting, but I should’ve probably programmed it in python.
But it basically does this:
I won’t share it because it’s really ugly and some of the functionality can be done with paperless native, like combining the pages of two scans. Which would’ve been easier.
RazzleDazzle@discuss.tchncs.de 18 hours ago
Thanks! And that’s ok, I’m more interested in the steps than the code itself. Do you apply any optimizations with image magik in step 2?