Hey, so I tried running this under OS X and got some errors because the BSD version of stat(1) doesn't support --printf. Also, my log dir includes a space which was screwing with the for loop so I hacked the IFS variable. This works for me, and probably will under Linux too:
Code:
#!/bin/bash
# Define your log directory here - easiest to symlink to your wine DIR
LOGDIR="/Applications/Project\ 1999.app/drive_c/eq/Logs"
# Don't mess with this!
IFS=$'\n'
while :; do
for f in `find ${LOGDIR}/eqlog* -newerct "1 minute ago"`; do
echo "Working with: $f"
curl -F "dump=$(tail -n 100 $f | grep auctions)" http://ahungry.com/aucDump.php
done
sleep 60
done