Skip to content

Instantly share code, notes, and snippets.

@fabiorecife
Created March 26, 2012 01:41
Show Gist options
  • Select an option

  • Save fabiorecife/2202169 to your computer and use it in GitHub Desktop.

Select an option

Save fabiorecife/2202169 to your computer and use it in GitHub Desktop.
MS DOS - merge multiple pdfs
@ECHO OFF
FOR /D %%A IN (*) DO (
ECHO PROCESSANDO %%A
cd "%%A"
..\pdftk *.pdf cat output "%%A".pdf
ECHO FIM DO PROCESSAMENTO
cd ..
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment