I have a few hundred PDFs that I need to rip the first page off of and then throw into Tabula.
I thought this might work using a combination of PDFTK and Apple Terminal:
for file in desktop/test/*.pdf ; do pdftk *-page1.pdf cat output combined.pdf ; done
but I get the result:
Error: Unable to find file.
Error: Failed to open PDF file: *-page1.pdf
Errors encountered. No output created.
Done. Input errors, so no output created.
It appears to be looking for one specific file and not all pdfs. Any ideas?