in reply to using grep on a directory to list files for a single date

You could use the -M operator to check the last modification date. Make sure you don't load the whole array into memory first.

Replies are listed 'Best First'.
Re^2: using grep on a directory to list files for a single date
by markkneen (Acolyte) on Dec 01, 2004 at 13:07 UTC
    Thats the sort of Idea I had in mind but not sure how. I know I could use map but i dont have a clue how.
    Thanks...
      If you don't know how to map/grep, just use a while loop. They tend to be less obfuscated.