dipl/documents/mst1/test.sh
Tyrolyean a78cc80bb2
Added stuff from corona start
Signed-off-by: Tyrolyean <tyrolyean@tyrolyean.net>
2020-03-14 22:30:05 +01:00

13 lines
309 B
Bash
Executable file

#!/bin/sh
for f in *.pdf; do
echo "########################################"
echo "Tesing $f..."
echo "########################################" >> ./logfile
if pdfinfo "$f" >> ./logfile; then
echo "$f is correct!"
else
echo "$f is broken!"
fi
echo "########################################"
done