script for merging pdfs (and not overwriting existent files...)

master
gutmet 2021-06-14 16:26:39 +02:00
parent 91d3f735db
commit c417a9d4d3
1 changed files with 9 additions and 0 deletions

9
mergePDFs Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
set -eu
timestamp=`stamp -filename`
outfile="mergedPDFs-$timestamp.pdf"
pdfunite "$@" "$outfile"
echo "$outfile"