Merge branch 'dev' of gitea.tforgione.fr:tforgione/dotfiles into dev
This commit is contained in:
commit
ee50dfd355
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
if [ $# -ne 2 ]; then
|
||||||
|
echo >&2 "errror: wrong number of arguments"
|
||||||
|
echo >&2 "usage: compress-pdf <input> <output>"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
gs -sDEVICE=pdfwrite -dPDFSETTINGS=/printer -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=$2 $1
|
Loading…
Reference in New Issue