<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Find the latest or newest modified file in a folder or directory with Perl</title> <atom:link href="http://www.haidongji.com/2008/06/25/find-the-latest-or-newest-modified-file-in-a-folder-or-directory-with-perl/feed/" rel="self" type="application/rss+xml" /><link>http://www.haidongji.com/2008/06/25/find-the-latest-or-newest-modified-file-in-a-folder-or-directory-with-perl/</link> <description>季庄新闻--Haidong Ji's Blog</description> <lastBuildDate>Wed, 04 Jan 2012 09:32:09 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.2</generator> <item><title>By: Haidong Ji</title><link>http://www.haidongji.com/2008/06/25/find-the-latest-or-newest-modified-file-in-a-folder-or-directory-with-perl/comment-page-1/#comment-14570</link> <dc:creator>Haidong Ji</dc:creator> <pubDate>Fri, 27 Jun 2008 21:06:46 +0000</pubDate> <guid
isPermaLink="false">http://www.haidongji.com/2008/06/25/find-the-latest-or-newest-modified-file-in-a-folder-or-directory-with-perl/#comment-14570</guid> <description>That&#039;s really cool: grep for files, and then take the first line, I learned something already!
Google is good, but sometimes a live and breathing expert can cut through the noise and point you to the right direction. Thanks!
The script I wrote was intended primarily for work on Windows. I am digging the here document, along with variable interpolation to generate some cool sql script.
Thanks for sharing!</description> <content:encoded><![CDATA[<p>That&#8217;s really cool: grep for files, and then take the first line, I learned something already!</p><p>Google is good, but sometimes a live and breathing expert can cut through the noise and point you to the right direction. Thanks!</p><p>The script I wrote was intended primarily for work on Windows. I am digging the here document, along with variable interpolation to generate some cool sql script.</p><p>Thanks for sharing!</p> ]]></content:encoded> </item> <item><title>By: Daniel Howard</title><link>http://www.haidongji.com/2008/06/25/find-the-latest-or-newest-modified-file-in-a-folder-or-directory-with-perl/comment-page-1/#comment-14567</link> <dc:creator>Daniel Howard</dc:creator> <pubDate>Fri, 27 Jun 2008 20:25:10 +0000</pubDate> <guid
isPermaLink="false">http://www.haidongji.com/2008/06/25/find-the-latest-or-newest-modified-file-in-a-folder-or-directory-with-perl/#comment-14567</guid> <description>You can also use ls -t:
&lt;code&gt;
0-13:19 djh@ratchet ~&gt; &lt;b&gt;ls -lt &#124; grep ^- &#124; head -1&lt;/b&gt;
-rw-r--r--   1 djh  djh   7477585 Mar 30 14:38 djh_wordpress-2008-03-30.sql
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>You can also use ls -t:</p><p><code><br
/> 0-13:19 djh@ratchet ~&gt; <b>ls -lt | grep ^- | head -1</b><br
/> -rw-r--r--   1 djh  djh   7477585 Mar 30 14:38 djh_wordpress-2008-03-30.sql<br
/> </code></p> ]]></content:encoded> </item> </channel> </rss>
