klausuren-allgemein/build_all.sh

10 lines
335 B
Bash
Executable File

#!/bin/bash
mkdir -p output
find ./* -maxdepth 1 -mindepth 1 -type f -name "*.tex" \
-not -name "settings.tex" \
-not -name "SSxx Klausurvorlage.tex" \
-not -name "klausuren-Settings-utf8.tex" \
-print0 | \
xargs -0 -P 4 -I [] bash -c 'cd "$(dirname "[]")"; latexmk -pdf -outdir=../output "$(basename "[]")";'