run script on multiple files
- From: kwythers@xxxxxxx (Kirk Wythers)
- Date: Fri, 22 Dec 2006 20:04:39 -0600
I have written a short perl script that munges climate data and then loads it into a postgres database. It works fine on one file at a time... syntax is ./program.pl filename
I would like to run it in a directory with multiple files. I have tried syntax ./program.pl file1 file2, but only the first file gets processed. Can anyone help me figure out how to run this script on a directory full of files that all need to be processed?
Thanks
.
- Follow-Ups:
- Re: run script on multiple files
- From: Chad Perrin
- Re: run script on multiple files
- Prev by Date: Re: Regexp $1
- Next by Date: Re: run script on multiple files
- Previous by thread: rewrite or reload on YAML
- Next by thread: Re: run script on multiple files
- Index(es):
Relevant Pages
|