Hi,
I can write the required script for you. I have considerable experience with shell scripting.
About me:
I have a Ph.D. in Computer Science from Wayne State University, US. After living in US for 12 years I started my own software development company in India.
Thanks,
Nandan Garg, PhD.
Kritin Digital Solutions.