<?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, 21 Jan 2010 02:07:52 +0300</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: jack</title>
		<link>http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/comment-page-1/#comment-679</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Tue, 02 Sep 2008 14:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=53#comment-679</guid>
		<description>hi ,
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 ,<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>
	<item>
		<title>By: Gleb Reys</title>
		<link>http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/comment-page-1/#comment-347</link>
		<dc:creator>Gleb Reys</dc:creator>
		<pubDate>Thu, 10 Jul 2008 10:59:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=53#comment-347</guid>
		<description>Yes, rasa, rsync provides you with a list of files changed or removed as the result.</description>
		<content:encoded><![CDATA[<p>Yes, rasa, rsync provides you with a list of files changed or removed as the result.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rasa</title>
		<link>http://www.unixtutorial.org/2008/06/how-to-compare-directories-in-unix/comment-page-1/#comment-346</link>
		<dc:creator>rasa</dc:creator>
		<pubDate>Thu, 10 Jul 2008 10:39:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/?p=53#comment-346</guid>
		<description>Thanks,
It seems to answer my problem.
Does it write any log for the list of files changed/added in the destination.
say i use rsync -av version2 version1
I need to find out what are the files changed/added/removed in version1 after this command...Just a log</description>
		<content:encoded><![CDATA[<p>Thanks,<br />
It seems to answer my problem.<br />
Does it write any log for the list of files changed/added in the destination.<br />
say i use rsync -av version2 version1<br />
I need to find out what are the files changed/added/removed in version1 after this command&#8230;Just a log</p>
]]></content:encoded>
	</item>
</channel>
</rss>
