<?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 Compare Directories in Unix</title>
	<atom:link href="http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/</link>
	<description>Learn UNIX</description>
	<lastBuildDate>Thu, 26 Jan 2012 23:00:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: andrea</title>
		<link>http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/comment-page-1/#comment-7016</link>
		<dc:creator>andrea</dc:creator>
		<pubDate>Wed, 08 Jun 2011 17:39:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=53#comment-7016</guid>
		<description>:D  great tyvm!!!!!!!!!!</description>
		<content:encoded><![CDATA[<p> <img src='http://unixtutorial.s3.amazonaws.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />   great tyvm!!!!!!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2011-03-21 &#8211; Kevin Burke</title>
		<link>http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/comment-page-1/#comment-6990</link>
		<dc:creator>links for 2011-03-21 &#8211; Kevin Burke</dc:creator>
		<pubDate>Tue, 22 Mar 2011 00:40:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=53#comment-6990</guid>
		<description>[...] Compare Directories in Unix using diff command &#124; Unix Tutorial [...]</description>
		<content:encoded><![CDATA[<p>[...] Compare Directories in Unix using diff command | Unix Tutorial [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak R Kadam</title>
		<link>http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/comment-page-1/#comment-6881</link>
		<dc:creator>Deepak R Kadam</dc:creator>
		<pubDate>Tue, 31 Aug 2010 05:26:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=53#comment-6881</guid>
		<description>awesome work... ;)</description>
		<content:encoded><![CDATA[<p>awesome work&#8230; <img src='http://unixtutorial.s3.amazonaws.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vantage Point of Queens - 090823: learn</title>
		<link>http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/comment-page-1/#comment-5885</link>
		<dc:creator>Vantage Point of Queens - 090823: learn</dc:creator>
		<pubDate>Wed, 26 Aug 2009 02:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=53#comment-5885</guid>
		<description>[...] How To Compare Directories in Unix [...]</description>
		<content:encoded><![CDATA[<p>[...] How To Compare Directories in Unix [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sunil</title>
		<link>http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/comment-page-1/#comment-1215</link>
		<dc:creator>sunil</dc:creator>
		<pubDate>Fri, 14 Nov 2008 16:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=53#comment-1215</guid>
		<description>i want to difference of two directories and show files which are present in both.

out put shouldnot show the resulting similar directories</description>
		<content:encoded><![CDATA[<p>i want to difference of two directories and show files which are present in both.</p>
<p>out put shouldnot show the resulting similar directories</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chorroborro</title>
		<link>http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/comment-page-1/#comment-1069</link>
		<dc:creator>Chorroborro</dc:creator>
		<pubDate>Wed, 22 Oct 2008 06:59:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=53#comment-1069</guid>
		<description>Is there a way to add the extension .bad to the files that are in one dir but no in the other and then have them listed ina  log and then printed into paper with red ink?</description>
		<content:encoded><![CDATA[<p>Is there a way to add the extension .bad to the files that are in one dir but no in the other and then have them listed ina  log and then printed into paper with red ink?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prashant Deshani</title>
		<link>http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/comment-page-1/#comment-993</link>
		<dc:creator>Prashant Deshani</dc:creator>
		<pubDate>Fri, 10 Oct 2008 14:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=53#comment-993</guid>
		<description>Hi,

First of all Many Thanks for the nice explaination of comparison of 2 directories.

However, I had the following concerns when I tried to compare the 2 directories:

1. I wanted to neglect the &quot;Carriage Return&quot; changes, but it seems like &quot;Diff&quot; command does not come with that functionality.

2. The command &quot;--brief&quot; does not seem to work.

3. The command lists the file which are identical...but without any difference. How can we avoid that?

Following is the snapshot of the ouput:

diff -bitw -r /mbx/cok/compare1/cokmyep.6rq /mbx/cok/compare2/cokmyep.6rq
diff -bitw -r /mbx/cok/compare1/cokmyep_2.6rq /mbx/cok/compare2/cokmyep_2.6rq
1a2,7
&gt; 
&gt; 
&gt; 
&gt; 
&gt; 
&gt; 
diff -bitw -r /mbx/cok/compare1/cokmyep_3.6rq /mbx/cok/compare2/cokmyep_3.6rq
Only in /mbx/cok/compare2: comparison.txt
Only in /mbx/cok/compare2: remove_M.sh</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>First of all Many Thanks for the nice explaination of comparison of 2 directories.</p>
<p>However, I had the following concerns when I tried to compare the 2 directories:</p>
<p>1. I wanted to neglect the "Carriage Return" changes, but it seems like "Diff" command does not come with that functionality.</p>
<p>2. The command "&#8211;brief" does not seem to work.</p>
<p>3. The command lists the file which are identical&#8230;but without any difference. How can we avoid that?</p>
<p>Following is the snapshot of the ouput:</p>
<p>diff -bitw -r /mbx/cok/compare1/cokmyep.6rq /mbx/cok/compare2/cokmyep.6rq<br />
diff -bitw -r /mbx/cok/compare1/cokmyep_2.6rq /mbx/cok/compare2/cokmyep_2.6rq<br />
1a2,7<br />
&gt;<br />
&gt;<br />
&gt;<br />
&gt;<br />
&gt;<br />
&gt;<br />
diff -bitw -r /mbx/cok/compare1/cokmyep_3.6rq /mbx/cok/compare2/cokmyep_3.6rq<br />
Only in /mbx/cok/compare2: comparison.txt<br />
Only in /mbx/cok/compare2: remove_M.sh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin</title>
		<link>http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/comment-page-1/#comment-852</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Fri, 12 Sep 2008 19:33:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=53#comment-852</guid>
		<description>Is there some way to copy the files (that you figure from the diff command) are different in the two directories into a new directory?</description>
		<content:encoded><![CDATA[<p>Is there some way to copy the files (that you figure from the diff command) are different in the two directories into a new directory?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How To Syncronize Directories with Rsync &#124; UNIX Tutorial: Learn UNIX</title>
		<link>http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/comment-page-1/#comment-742</link>
		<dc:creator>How To Syncronize Directories with Rsync &#124; UNIX Tutorial: Learn UNIX</dc:creator>
		<pubDate>Thu, 04 Sep 2008 09:08:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=53#comment-742</guid>
		<description>[...] How to compare directories in Unix [...]</description>
		<content:encoded><![CDATA[<p>[...] How to compare directories in Unix [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/comment-page-1/#comment-680</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Tue, 02 Sep 2008 14:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=53#comment-680</guid>
		<description>hi arun,
i have got one problem due to failure of one hard drive as follows:
1:i had 3 drives having images data.i was downloading data from all 3 drives and one of 3 drives got failure so i lost all data in broken drive but 2 other drives data are safe(2 drives are safe drives).
2. i did contact with administrator and he restored the original data with for 6 days data.
3. Restored data contains data from broken drive and safe drive also.
4. my problem is to get only data that should be in broken drive but not in safe drives.
because safe drives data already got transferred.

please give me solution or any idea how to get only broken drive data from restored .
i was thinking to write shell script but i m new in this.
help will be higly appriciated.
thnx a ton</description>
		<content:encoded><![CDATA[<p>hi arun,<br />
i have got one problem due to failure of one hard drive as follows:<br />
1:i had 3 drives having images data.i was downloading data from all 3 drives and one of 3 drives got failure so i lost all data in broken drive but 2 other drives data are safe(2 drives are safe drives).<br />
2. i did contact with administrator and he restored the original data with for 6 days data.<br />
3. Restored data contains data from broken drive and safe drive also.<br />
4. my problem is to get only data that should be in broken drive but not in safe drives.<br />
because safe drives data already got transferred.</p>
<p>please give me solution or any idea how to get only broken drive data from restored .<br />
i was thinking to write shell script but i m new in this.<br />
help will be higly appriciated.<br />
thnx a ton</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 3/15 queries in 0.006 seconds using disk: basic
Object Caching 419/420 objects using disk: basic
Content Delivery Network via Amazon Web Services: S3: unixtutorial.s3.amazonaws.com

Served from: www.unixtutorial.org @ 2012-02-08 01:04:27 -->
