pdfcpu test for sample-technical.pdf

← Back to pdfcpu

Input: sample-technical.pdf

sample-technical.pdf first page preview

content

scratch_dir="$(mktemp -d)"
trap 'rm -rf "$scratch_dir"' EXIT
./bin/pdfcpu_0.14.0_Linux_x86_64/pdfcpu extract -m content "sample-technical.pdf" "$scratch_dir"
cat "$scratch_dir"/*_Content_page_*.txt >"sample-technical--pdfcpu-go--content.txt"
rm -rf "$scratch_dir"
trap - EXIT