<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt">Anyone know of a quick and easy way to find the date of the newest file in a directory tree.&nbsp; <br><br>I'm looking for a way to speed up synchronizing file caches between machines.&nbsp; When you have 1m in files (that's a count, not a size), it takes quite a while to scan through the whole tree.&nbsp; If we had a .oldest file in each branch, we could skip that branch if nothing had changed.&nbsp; Then all we would need to do is scan the tree once to set these branch-stamps.&nbsp; After that, all the cache machines would have to do is walk the tree looking for newer stamps.&nbsp; <br><div>&nbsp;</div><span style="font-family: courier;">--- </span><br style="font-family: courier;"><span style="font-family: courier;">Wayne Johnson,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    
         | <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.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;             | <span style="color: rgb(191, 95, 0);">then,  have it your way." --C.S. Lewis</span><br></span><div><br></div></div><br>
      <hr size=1>Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>