Re: Processing files in a directory

2008-11-10 Thread Susheel Koushik
use the PERL system command. Its a wrapper for system call on your host OS. ex: system("mv $filename $new_location/$filename"); susheel On Mon, Nov 10, 2008 at 4:39 PM, Susheel Koushik <[EMAIL PROTECTED]> wrote: > use the PERL system command. Its a wrapper for system call on your host OS. > > e

Re: Processing files in a directory

2008-11-10 Thread Susheel Koushik
use the PERL system command. Its a wrapper for system call on your host OS. ex: system("rm *.tmp"); susheel On Mon, Nov 10, 2008 at 3:32 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote: > Hi Everyone, > > I have around 2000 files in a directory. During processing of these > files, a temp* will b

Processing files in a directory

2008-11-10 Thread satyak...@gmail.com
Hi Everyone, I have around 2000 files in a directory. During processing of these files, a temp* will be created for each file and its removed after processing that file. If the processing is unsuccessful, temp* file still exists. Can u plz help me to write a script to automate this process using P