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

This commit is contained in:
gutmet 2021-06-14 16:26:39 +02:00
parent 91d3f735db
commit c417a9d4d3

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"