2020-03-14 22:30:05 +01:00
|
|
|
#!/bin/sh
|
2019-10-21 00:59:23 +02:00
|
|
|
|
|
|
|
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
|