Created
January 27, 2024 14:47
-
-
Save kenorb/9f12941dda163b11a140b91634a8a352 to your computer and use it in GitHub Desktop.
pdftotext script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install poppler-utils poppler-data | |
find . -iname "*.pdf" -print -execdir bash -c '! test -f "{}".txt && pdftotext "{}" "{}".txt' ';' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment