thanks for your reply
I wrote a little script, not perfect but did the job
Code:
#!/bin/bash
LASTREV=1751
DIR=eqemulator/projecteqemu/utils/sql/svn/
#cd $DIR
for f in *.sql
do
TT="$(echo $f | sed -e "s/_.*//")"
#echo $TT
if [ "$TT" -gt "$LASTREV" ]
then
echo $TT
mysql --user=YOURUSER--password=YOURPASS peq < $f
fi
done