|
Need script to find errored files inside directories
Hi people.
I working on a script to check for files that they are suposed not to be on the directory. I mean, inside of each directory it must have some files but some could be wrong, and i want to move the files that are wrong.
Ex:
CSPOTGET edpst/CargadoresSPOT Historicos_Spot_MDI.zip
COBGET edpst/CargadorOmelBroker ??????.xls
CORGET edpst/CargadorOmelReuters CarOmlReuts.xls
On folder " edpst/CargadoresSPOT " must only have " Historicos_Spot_MDI.zip"
On folder " edpst/CargadorOmelBroker " must only have files with " yymmdd.xls" , and no others.
I imagine this "configuration" file where the 1st column is a variable, the second is the directory and the 3rd column is the file(s) of each directory.
Did you understand what i'm wrote?
osramos
|