<?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 Difference Between Two Directories Using Diff and Meld Tools	</title>
	<atom:link href="https://www.tecmint.com/compare-find-difference-between-two-directories-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/compare-find-difference-between-two-directories-in-linux/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Sun, 04 Aug 2024 23:00:58 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Johann		</title>
		<link>https://www.tecmint.com/compare-find-difference-between-two-directories-in-linux/comment-page-1/#comment-2198596</link>

		<dc:creator><![CDATA[Johann]]></dc:creator>
		<pubDate>Sun, 04 Aug 2024 23:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=25525#comment-2198596</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/compare-find-difference-between-two-directories-in-linux/comment-page-1/#comment-1323424&quot;&gt;Brian&lt;/a&gt;.

Your tool is closed-source payware. I don&#039;t mind the payware part, but closed source? NOPE!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/compare-find-difference-between-two-directories-in-linux/comment-page-1/#comment-1323424">Brian</a>.</p>
<p>Your tool is closed-source payware. I don&#8217;t mind the payware part, but closed source? NOPE!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/compare-find-difference-between-two-directories-in-linux/comment-page-1/#comment-2172243</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Mon, 20 May 2024 06:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=25525#comment-2172243</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/compare-find-difference-between-two-directories-in-linux/comment-page-1/#comment-2171810&quot;&gt;Bob&lt;/a&gt;.

@Bob,

You can limit comparison to file names and sizes by combining find and diff:
&lt;pre&gt;
find dir1 -type f -exec stat --format=&#039;%s %n&#039; {} + &#124; sort &gt; dir1_files.txt
find dir2 -type f -exec stat --format=&#039;%s %n&#039; {} + &#124; sort &gt; dir2_files.txt
diff -q dir1_files.txt dir2_files.txt
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/compare-find-difference-between-two-directories-in-linux/comment-page-1/#comment-2171810">Bob</a>.</p>
<p>@Bob,</p>
<p>You can limit comparison to file names and sizes by combining find and diff:</p>
<pre>
find dir1 -type f -exec stat --format='%s %n' {} + | sort > dir1_files.txt
find dir2 -type f -exec stat --format='%s %n' {} + | sort > dir2_files.txt
diff -q dir1_files.txt dir2_files.txt
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Bob		</title>
		<link>https://www.tecmint.com/compare-find-difference-between-two-directories-in-linux/comment-page-1/#comment-2171810</link>

		<dc:creator><![CDATA[Bob]]></dc:creator>
		<pubDate>Sat, 18 May 2024 07:37:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=25525#comment-2171810</guid>

					<description><![CDATA[This is not correct; the command &lt;code&gt;`diff -q`&lt;/code&gt; is taking excessively long. This is not just comparing two directories; it is comparing the content of all files within the directories.

]]></description>
			<content:encoded><![CDATA[<p>This is not correct; the command <code>`diff -q`</code> is taking excessively long. This is not just comparing two directories; it is comparing the content of all files within the directories.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jos		</title>
		<link>https://www.tecmint.com/compare-find-difference-between-two-directories-in-linux/comment-page-1/#comment-2129548</link>

		<dc:creator><![CDATA[Jos]]></dc:creator>
		<pubDate>Fri, 26 Jan 2024 09:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=25525#comment-2129548</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/compare-find-difference-between-two-directories-in-linux/comment-page-1/#comment-2038743&quot;&gt;Ravi Saive&lt;/a&gt;.

rsync has an extra plus: the directories to be compared do not necessarily have to be on the same system. Comparison can be done between different computers.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/compare-find-difference-between-two-directories-in-linux/comment-page-1/#comment-2038743">Ravi Saive</a>.</p>
<p>rsync has an extra plus: the directories to be compared do not necessarily have to be on the same system. Comparison can be done between different computers.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/compare-find-difference-between-two-directories-in-linux/comment-page-1/#comment-2038743</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Wed, 26 Jul 2023 06:26:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=25525#comment-2038743</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/compare-find-difference-between-two-directories-in-linux/comment-page-1/#comment-2037471&quot;&gt;Luis Gutiérrez López&lt;/a&gt;.

@Luis,

Yes, that&#039;s correct. The rsync &lt;code&gt;--dry-run&lt;/code&gt; option allows you to run a trial run of rsync without actually transferring any files. This is a great way to compare two directories and see which files are different.

The syntax for the &lt;code&gt;rsync --dry-run&lt;/code&gt; command is as follows:
&lt;pre&gt;
# rsync --dry-run [options] source_directory destination_directory
&lt;/pre&gt;
For example, to compare the contents of the &lt;strong&gt;/home/user/source&lt;/strong&gt; directory to the &lt;strong&gt;/home/user/destination&lt;/strong&gt; directory, you would use the following command:
&lt;pre&gt;
# rsync --dry-run /home/user/source /home/user/destination
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/compare-find-difference-between-two-directories-in-linux/comment-page-1/#comment-2037471">Luis Gutiérrez López</a>.</p>
<p>@Luis,</p>
<p>Yes, that&#8217;s correct. The rsync <code>--dry-run</code> option allows you to run a trial run of rsync without actually transferring any files. This is a great way to compare two directories and see which files are different.</p>
<p>The syntax for the <code>rsync --dry-run</code> command is as follows:</p>
<pre>
# rsync --dry-run [options] source_directory destination_directory
</pre>
<p>For example, to compare the contents of the <strong>/home/user/source</strong> directory to the <strong>/home/user/destination</strong> directory, you would use the following command:</p>
<pre>
# rsync --dry-run /home/user/source /home/user/destination
</pre>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
