Initial commit.
This commit is contained in:
14
crop-logos.sh
Executable file
14
crop-logos.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
command -v pdfcrop >/dev/null 2>&1 || {
|
||||
echo >&2 "pdfcrop executable not found in PATH:"
|
||||
echo >&2 "${PATH}"
|
||||
exit 1
|
||||
}
|
||||
|
||||
LOGOS=(tum faculty)
|
||||
|
||||
for logo in ${LOGOS[@]}
|
||||
do
|
||||
pdfcrop "logos/${logo}.pdf" "logos/${logo}.pdf"
|
||||
done
|
||||
Reference in New Issue
Block a user