aboutsummaryrefslogtreecommitdiffstats
path: root/cli/pdfmerge.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cli/pdfmerge.sh')
-rwxr-xr-xcli/pdfmerge.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/cli/pdfmerge.sh b/cli/pdfmerge.sh
deleted file mode 100755
index aef72db..0000000
--- a/cli/pdfmerge.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-#
-# Merge multiple PDFs with pdftk.
-#
-# Ref:
-# Merging Multiple PDFs under GNU/Linux
-# https://blog.dbrgn.ch/2013/8/14/merge-multiple-pdfs/
-#
-# Weitian LI
-# 2015/01/23
-#
-
-if [ $# -lt 2 ]; then
- printf "Usage: `basename $0` out.pdf in1.pdf ...\n"
- exit 1
-fi
-
-outpdf="$1"
-shift
-
-echo "Input files: $@"
-pdftk "$@" cat output "${outpdf}"
-