Need of a script

From: sreenu reddy (sreenureddy24@yahoo.com)
Date: Tue May 07 2002 - 22:41:42 EDT


Hello Managers
I am having a directory called /var/spool/mqueue.tmp .
In this directory I am having 900 files ,300 files
starting with letter q , 300 files starting with
letter s and 300 files starting with letter x. Every
file is a charecter like qxtezt424, sdfrzt424,
xergft424. For every q file there is a corresponding s
and x file i.e the last four charecters matches like
t424 in the above files. I have to move one q file and
the corresponding s and x file to /var/mail/mqueue
directory, sleep for 10 sec and the send the next q
file.... like that until I move all the files.
             I am little bit poor in scripting, can
any
 one please help me in writing a script like that.
 
 Thanks in advance
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:18 EDT