comparing a files date script?
Posted: Tue Dec 31, 2002 2:03 pm
hello-
anyone have a script handy that will take a file passed to it, get the date of the file's creation and compare it vs. the current date?
I'm developing on a win98 box, but the script will run on a linux box.
basicaly I want to check a dir, and each file in it. then get the date of the file's creation compare it to the current date, the return valued of them being compared will be compared to a value stored in a db.
Any hints or clues on what functions I should check out or if anyone has a script similar to this already written, that would be great help to me.
thanks for your time!
- webguy
anyone have a script handy that will take a file passed to it, get the date of the file's creation and compare it vs. the current date?
I'm developing on a win98 box, but the script will run on a linux box.
basicaly I want to check a dir, and each file in it. then get the date of the file's creation compare it to the current date, the return valued of them being compared will be compared to a value stored in a db.
Any hints or clues on what functions I should check out or if anyone has a script similar to this already written, that would be great help to me.
thanks for your time!
- webguy