http://qs321.pair.com?node_id=734965


in reply to Processing data in on dir and copying, then processing into another dir

Check the first file's name in the dir

Seems dangerous to rely on what will be the first file unless you have quite strict control over what might be in these folders.

  • Comment on Re: Processing data in on dir and copying, then processing into another dir

Replies are listed 'Best First'.
Re^2: Processing data in on dir and copying, then processing into another dir
by lomSpace (Scribe) on Jan 08, 2009 at 19:02 UTC
    The files that I am interested in will consistently look similar to this: ^12112L5_LacZ,^12112L5_pgK, ^12112L5_SU, or ^12112L5_SD. If the first file in the folders name does not correspond to any of the afore mentioned then I know to skip to search the next folder. I will probably run a cron job so that way I will know exactly which folder to look at.