Files
2026-10-19 15:22:52 -07:00

27 lines
333 B
Bash

#!/bin/sh
for file in `ls -t *.php | grep -v -e dialog.php`
do
isPDF=0
grep -q "\$pdf->" $file
if [ $? -eq 0 ]
then
isPDF=1
fi
if [ $isPDF -eq 0 ]
then
if [ "$file" == "find-enums.php" ]
then
exit
fi
echo "copy $file"
cp $file ../new.hotlunches.net
fi
done