<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt">First use yum or apt-get to install the package inotify-tools. The
commands are: inotifywait and inotifywatch. There are man pages for
both in the package.<br>
<br>
<span class="391522716-10012008"><font color="#800000" face="Courier" size="2">inotifywait - wait for changes to files using inotify [Also monitors the files, dumping events to a log file].<br>
inotifywatch - gather filesystem access statistics using inotify<br>
<br>
</font></span><span>Web site is <a target="_blank" href="http://inotify-tools.sourceforge.net/">http://inotify-tools.sourceforge.net/</a></span><br>
<br>
If your distro does not have the package (and Centos/RHEL didn't) you
can download the source from the web site and build it yourself.<br><div> </div><span style="font-family: courier;"></span><div> </div><span style="font-family: courier;">--- </span><br style="font-family: courier;"><span style="font-family: courier;">Wayne Johnson, | <span style="color: rgb(191, 95, 0);">There are two kinds of people: Those</span> </span><br style="font-family: courier;"><span style="font-family: courier;">3943 Penn Ave. N. | <span style="color: rgb(191, 95, 0);">who say to God, "Thy will be done," </span></span><br style="font-family: courier;"><span style="font-family: courier;">Minneapolis, MN 55412-1908 | <span style="color: rgb(191, 95, 0);">and those to whom God says, "All right, </span></span><br style="font-family: courier;"><span style="font-family: courier;">(612)
522-7003 | <span style="color: rgb(191, 95, 0);">then, have it your way." --C.S. Lewis</span><br></span><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Mike Miller <mbmiller@taxa.epi.umn.edu><br>To: Wayne Johnson <wdtj@yahoo.com><br>Cc: Leif Johnson <leif.t.johnson@gmail.com>; tclug <tclug-list@mn-linux.org><br>Sent: Tuesday, January 15, 2008 1:27:52 PM<br>Subject: Re: [tclug-list] Finding the date of the newest file in a directory tree<br><br>
On Tue, 15 Jan 2008, Wayne Johnson wrote:<br><br>> As a follow up to this, I've found that many distros now have a
package <br>> called inotify-tools that brings the inotify API function to the
command <br>> line. Nice job Linux community!<br><br>How does it work for you? What command do you use?<br>Sounds great.<br><br>Mike<br></div><br></div></div><br>
<hr size=1>Never miss a thing. <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>
</body></html>