Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Comparing modification time on files

Status
Not open for further replies.

btinder

Programmer
Mar 12, 2004
27
US
Anyone know of a quick/easy way to check to see if a file hasn't been modified in the last 30 minutes?

For example, file1.txt hasn't been updated/touched since 10:30am, and file2.txt was last modified/touched at 10:55am, it's now 11:05am, how do I get the script to alert me that file1.txt is "too old" ( > 30 minutes old).

Ideas? Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top