13 lines
309 B
Bash
Executable file
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
|