aboutsummaryrefslogtreecommitdiffstats
path: root/unix/pdfmerge.sh
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-11-03 18:25:35 +0800
committerAaron LI <aly@aaronly.me>2017-11-03 18:25:35 +0800
commit61a2aeeadfecd2a9f57a2727e63123f96e09d846 (patch)
treeddabf37c5a306c600af3e58e23f336f1a9f72127 /unix/pdfmerge.sh
parent3e11b2841e85a9d82d88d463479a5e0ff49a7a27 (diff)
downloadatoolbox-61a2aeeadfecd2a9f57a2727e63123f96e09d846.tar.bz2
Remove some duplicate scripts
Diffstat (limited to 'unix/pdfmerge.sh')
-rwxr-xr-xunix/pdfmerge.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/unix/pdfmerge.sh b/unix/pdfmerge.sh
deleted file mode 100755
index aef72db..0000000
--- a/unix/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}"
-