[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

How to write a shell script in unix to check the filename in a folder and process furthe?

Asked by prashanthp in Unix Network Security

Basically , I need to check whether file named in a certain way,has reached a particular folder using unix script?
for eg.. IBMstyle file would come as "IBMstyle_date" etc
so that we can route and process accordingly..
another thing , we have to look for is just checking , whether some new file has arrived ....in a particular folder irrespective of the file name... if it has arrived , then we will try to look for its name something on those lines..
1)How frequent we need to check: Daily. Set any particualr  time
2)If multipule file sare there what is the order of execution of files:First come first serve, ie file with past timestamp gets processed earlier than the file which comes later
After processing the file that files has to move archive folder



[+][-]06/03/09 06:45 AM, ID: 24536446Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625