Skip to content

Instantly share code, notes, and snippets.

@dufferzafar
Created December 18, 2014 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dufferzafar/3e79fd28db407b8b03b9 to your computer and use it in GitHub Desktop.
Save dufferzafar/3e79fd28db407b8b03b9 to your computer and use it in GitHub Desktop.
Built HAC from multiple chapters
# Remove the Initial page from all files.
for file in *.pdf
do
F:/Powerpack/Cmder/vendor/pdftk/pdftk.exe $file cat 2-end output "${file%.*}-new.pdf"
done
F:/Powerpack/Cmder/vendor/pdftk/pdftk.exe *-new*.pdf cat output "Handbook.pdf"
F:/Powerpack/Cmder/vendor/pdftk/pdftk.exe "toc3.pdf" "Handbook.pdf" cat output "Handbook of Applied Cryptography.pdf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment