savem has asked for the wisdom of the Perl Monks concerning the following question:
Hey Monks,
I would like to do the following things:
1. Navigate to a certain directory: (/rjo/fnl/logfiles/)
2. Open all files with the name: (*RAN*.log)
3. Run prepared script on each file.
4. Within that script, create and output to a new file: (original filename.pd)
If anyone could show me an example of how to do this it would be awesome. Otherwise, if anyone can point me in the right direction for literature on how to set this up it would be much appreciated. Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Opening files from a directory and batch processing into new files
by thenaz (Beadle) on Aug 03, 2011 at 21:01 UTC | |
by savem (Initiate) on Aug 04, 2011 at 20:55 UTC | |
|
Re: Opening files from a directory and batch processing into new files
by toolic (Bishop) on Aug 03, 2011 at 20:59 UTC | |
by savem (Initiate) on Aug 04, 2011 at 20:56 UTC | |
|
Re: Opening files from a directory and batch processing into new files
by i5513 (Pilgrim) on Aug 03, 2011 at 21:03 UTC |