http://sourceforge.net/projects/filewatch/
This does what your looking for and much more. It will tell you what changes inside the file have taken place. ----------------------------- InteleNet Communications Inc. "Help me help you." Chance Ervin - SCSA --Jerry Maguire Oracle Certified Professional Supervisor of Network Operations -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, March 20, 2004 8:59 AM To: [EMAIL PROTECTED] Subject: modification and inode change times All, was hoping to get some ideas on what to use to get all, if any files have been modified and if so give the file names and dates for these changed files? If any files were modified more than once then I need to output the filenames and the date/time as well for that n amount of times. I was thinking of using stat, or -M or -C but I am unsure of my logic. LOGIC: set variables for dirs opendirs as FILEHANDLES or die while reading directory glob for " *.sq[r,c] " if files mod time and inode time > 0 and < 24 hours then print to a log file closedirs else closedirs and exit I want this to occur for three seperate directories as well. thank you! Derek B. Smith OhioHealth IT UNIX / TSM / EDM Teams 614-566-4145 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>