How can I extract differences between 2 folders ?
Ggatten at waddell.com
Tue May 5 19:20:12 UTC 2009
I could write something in perl, but don't know if anything exists or not.
----- Original Message -----
From: owner-freebsd-questions at freebsd.org <owner-freebsd-questions at freebsd.org>
To: freebsd-questions at freebsd.org <freebsd-questions at freebsd.org>
Sent: Tue May 05 13:35:22 2009
Subject: Re: How can I extract differences between 2 folders ?
First I am sorry writing folders instead of files.
as far as I see diff command compares differences line by line between 2
That's to say,
diff --suppress-common-lines -w -y a b
as above you see, A and B files contains the same strings but their's lines
I wish diff or another command not to display same values which are in
> First of all I suppose you're talking about 2 files, not folders.
> In which case the command you're using isn't looking so bad since it
> shows the differences between file "a" and file "b":
> > diff --suppress-common-lines -w -y a b
> abcde | xyasz
> But since you do not seem to be happy with the output - what should it
> look like?
> On Tue 05 May 2009, Yavuz Maşlak wrote:
>> I have two folders which contains some expressions in everyline as
>> File A:
>> File B:
>> As above some strings are same and some strings are different.
>> There are several differents between these two files.
>> When I run diff command "diff --suppress-common-lines -y -w file1 file2 >
>> fileresult" like I couldn't result right.
>> How can I extract differences between 2 folders ?
>> Which command do I need to use ?
> Armin Pirkovitsch
> a.pirko at inode.at
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
freebsd-questions at freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'>
"This email is intended to be reviewed by only the intended recipient
and may contain information that is privileged and/or confidential.
If you are not the intended recipient, you are hereby notified that
any review, use, dissemination, disclosure or copying of this email
and its attachments, if any, is strictly prohibited. If you have
received this email in error, please immediately notify the sender by
return email and delete this email from your system."
More information about the freebsd-questions