View Single Post
  #9  
Old 09-06-2006, 03:05 PM
zephyr325
Hill Giant
 
Join Date: Sep 2004
Posts: 117
Default

I've put a quick little scripts out that will run the program against all the zones I know about and create a "zonename.sql" file of inserts.

You can get to it here.

I run things under linux/cygwin, so if you want to use it in a DOS format you'll need to replace the "./" in front of each line with "perl " so you get a line like:

Quote:
perl grabnpc.pl -k -z abysmal -o abysmal.sql
Also, if you want to get one big file of inserts, this is how I do it under linux:

Quote:
for i in *.sql; do cat $i >>biginsertfile; done
If one of you DOS gurus know the translation for that, someone can probably use it. Make sure you don't create your "biginsertfile" to end with ".sql", though, or you'll get into a recursive loop. You get really big files, really fast, doing something like that. =)
__________________
"Like what you like, enjoy what you enjoy, and don't take crap from anybody."

Last edited by zephyr325; 09-06-2006 at 11:26 PM..
Reply With Quote