ID-stickers/gen_stickers.sh
2025-12-15 10:36:22 +01:00

12 lines
192 B
Bash
Executable File

#!/bin/bash
CSVS=rooms/*.csv
for f in $CSVS
do
echo $f
xelatex "\\newcommand{\\csvfile}{$f} \\input{barcode-gen}"
bn=$(basename "$f")
mv barcode-gen.pdf pages/${bn}.pdf
done