<?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: How to Find and Sort Files Based on Modification Date and Time in Linux	</title>
	<atom:link href="https://www.tecmint.com/find-and-sort-files-modification-date-and-time-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/find-and-sort-files-modification-date-and-time-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Thu, 13 Jul 2023 17:20:57 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: michi		</title>
		<link>https://www.tecmint.com/find-and-sort-files-modification-date-and-time-in-linux/comment-page-1/#comment-1904028</link>

		<dc:creator><![CDATA[michi]]></dc:creator>
		<pubDate>Mon, 24 Oct 2022 12:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=18325#comment-1904028</guid>

					<description><![CDATA[Already a few years old, but always stimulating. ;-)

thanks for the site.]]></description>
			<content:encoded><![CDATA[<p>Already a few years old, but always stimulating. ;-)</p>
<p>thanks for the site.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob		</title>
		<link>https://www.tecmint.com/find-and-sort-files-modification-date-and-time-in-linux/comment-page-1/#comment-1861187</link>

		<dc:creator><![CDATA[Rob]]></dc:creator>
		<pubDate>Fri, 12 Aug 2022 13:44:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=18325#comment-1861187</guid>

					<description><![CDATA[With the &lt;strong&gt;find&lt;/strong&gt; command just more simple is to use the &lt;code&gt;%AF&lt;/code&gt; instead of the &lt;code&gt;%AD&lt;/code&gt; specifier in &lt;code&gt;-printf&lt;/code&gt;. A simple sort &lt;code&gt;-r&lt;/code&gt; after the pipe symbol then is sufficient to get it sorted with the most recent file on top. E.g. recursive search on file with a certain suffix:
&lt;pre&gt;
$ find ~ -iname *.svg -printf &quot;\n%AF %AT %p&quot; &#124; sort -r &#124; head -n 30
&lt;/pre&gt;
Of course, the &lt;strong&gt;sort&lt;/strong&gt; command must be executed before head ;-). Which might take some time.]]></description>
			<content:encoded><![CDATA[<p>With the <strong>find</strong> command just more simple is to use the <code>%AF</code> instead of the <code>%AD</code> specifier in <code>-printf</code>. A simple sort <code>-r</code> after the pipe symbol then is sufficient to get it sorted with the most recent file on top. E.g. recursive search on file with a certain suffix:</p>
<pre>
$ find ~ -iname *.svg -printf "\n%AF %AT %p" | sort -r | head -n 30
</pre>
<p>Of course, the <strong>sort</strong> command must be executed before head ;-). Which might take some time.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Roel Van de Paar		</title>
		<link>https://www.tecmint.com/find-and-sort-files-modification-date-and-time-in-linux/comment-page-1/#comment-1597939</link>

		<dc:creator><![CDATA[Roel Van de Paar]]></dc:creator>
		<pubDate>Wed, 29 Sep 2021 02:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=18325#comment-1597939</guid>

					<description><![CDATA[Perhaps a better alternative, or more specific/accurate date/time sorting, though I could not (yet) fault the one listed in #5 above. Reasoning about it though, it would not seem to be accurate.

&lt;code&gt;find / -type f -printf &quot;\n%AD %AT %p&quot; &#124; sort -t&#039; &#039; -k1.7,1.8n -k1.1,1.2n -k1.4,1.5n -k2.1,2.2n -k2.4,2.5n -k2.7,2.8n -k2.10,2.19n&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>Perhaps a better alternative, or more specific/accurate date/time sorting, though I could not (yet) fault the one listed in #5 above. Reasoning about it though, it would not seem to be accurate.</p>
<p><code>find / -type f -printf "\n%AD %AT %p" | sort -t' ' -k1.7,1.8n -k1.1,1.2n -k1.4,1.5n -k2.1,2.2n -k2.4,2.5n -k2.7,2.8n -k2.10,2.19n</code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Vivek Sunny		</title>
		<link>https://www.tecmint.com/find-and-sort-files-modification-date-and-time-in-linux/comment-page-1/#comment-1371171</link>

		<dc:creator><![CDATA[Vivek Sunny]]></dc:creator>
		<pubDate>Wed, 07 Oct 2020 03:37:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=18325#comment-1371171</guid>

					<description><![CDATA[Extremely bad font color used for command, can&#039;t see anything properly.]]></description>
			<content:encoded><![CDATA[<p>Extremely bad font color used for command, can&#8217;t see anything properly.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Prashant Thorat		</title>
		<link>https://www.tecmint.com/find-and-sort-files-modification-date-and-time-in-linux/comment-page-1/#comment-1006986</link>

		<dc:creator><![CDATA[Prashant Thorat]]></dc:creator>
		<pubDate>Wed, 27 Jun 2018 13:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=18325#comment-1006986</guid>

					<description><![CDATA[Hello,

Nice commands, those commands we can use in bash scripting according to requirement.]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>Nice commands, those commands we can use in bash scripting according to requirement.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
