<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt">As a follow up to this, I've found that many distros now have a package called inotify-tools that brings the inotify API function to the command line. Nice job Linux community!<br><br>I know I'll get flamed for this, but windows also has several inotify APIs. Anyone have a lead on a set of inotify-tools like command line utilities for windows?<br><div><br>Thanks all.<br> <br></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: Leif Johnson <leif.t.johnson@gmail.com><br>To: Wayne Johnson <wdtj@yahoo.com>; tclug <tclug-list@mn-linux.org><br>Sent: Wednesday, January 9, 2008
10:27:20 PM<br>Subject: Re: [tclug-list] Finding the date of the newest file in a directory tree<br><br>
> Anyone know of a quick and easy way to find the date of the newest
file in a directory tree.<br>What kind of systems do you want to be doing this on?<br><br>If it's linux with a kernel version of >= 2.6.13 you might (if it was<br>enabled in the kernel) have inotify available. For a complete<br>description see google, but simply inotify allows a program to watch<br>the file system for events. So you could make a simple process to<br>watch your tree for appropriate events (file modifies etc.) and keep<br>track of what is most recent.<br><br>leif<br></div><br></div></div><br>
<hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
Find them fast with Yahoo! Search.</a></body></html>