[opensuse] howto 'diff' a filetree
Hi Not really an openSUSE question, but should be a no-brainer for you guys: ...what's an easy way of comparing the contents of two directory trees, ignoring time stamps and other attributes ? I'm after a list that tells me which files exist in tree A but not in B. Thanks in advance, Diego -- http://www.getup.org.au/campaign/SaveTheNet -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 2009-01-13 at 17:01 +1100, Diego Tognola wrote:
Hi
Not really an openSUSE question, but should be a no-brainer for you guys:
...what's an easy way of comparing the contents of two directory trees, ignoring time stamps and other attributes ? I'm after a list that tells me which files exist in tree A but not in B.
graphically, try kdiff3 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 13 Jan 2009 06:20:12 pm Roger Oberholtzer wrote:
On Tue, 2009-01-13 at 17:01 +1100, Diego Tognola wrote:
Hi
Not really an openSUSE question, but should be a no-brainer for you guys:
...what's an easy way of comparing the contents of two directory trees, ignoring time stamps and other attributes ? I'm after a list that tells me which files exist in tree A but not in B.
graphically, try kdiff3
Nice !!! Thanks :-) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Jan 13, 2009 at 08:20:12AM +0100, Roger Oberholtzer wrote:
On Tue, 2009-01-13 at 17:01 +1100, Diego Tognola wrote:
Hi
Not really an openSUSE question, but should be a no-brainer for you guys:
...what's an easy way of comparing the contents of two directory trees, ignoring time stamps and other attributes ? I'm after a list that tells me which files exist in tree A but not in B.
graphically, try kdiff3
or xxdiff :) -- Best regards / s pozdravem Petr Uzel, Packages maintainer --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: puzel@suse.cz Lihovarská 1060/12 tel: +420 284 028 964 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2009-01-13 at 08:45 +0100, Petr Uzel wrote:
graphically, try kdiff3
or xxdiff :)
It is not part of the distro. Mmmm... as far as I can see, it doesn't have any activity in sourceforge since 2006-07 Another app that compares directories, is 'mc'. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklskboACgkQtTMYHG2NR9XaMwCgh17pbBAQauU7AzZdnuEUzmMz WbEAn26WkLxTrUTdfUj3uLqhb5dOtHYU =HpSa -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Jan 13, 2009 at 02:06:00PM +0100, Carlos E. R. wrote:
On Tuesday, 2009-01-13 at 08:45 +0100, Petr Uzel wrote:
graphically, try kdiff3
or xxdiff :)
It is not part of the distro.
Yes, but it is in BuildService.
Mmmm... as far as I can see, it doesn't have any activity in sourceforge since 2006-07
May be it is so old that it has no bugs anymore :) I personally like it for its simple and intuitive interface. And it has also some nice add-ons (xxdiff-tools).
Another app that compares directories, is 'mc'.
-- Best regards / s pozdravem Petr Uzel, Packages maintainer --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: puzel@suse.cz Lihovarská 1060/12 tel: +420 284 028 964 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2009-01-13 at 14:19 +0100, Petr Uzel wrote:
or xxdiff :)
It is not part of the distro.
Yes, but it is in BuildService.
On "home" dirs. I never install anything from home dirs unless told by the owner, they may be for testing bugzillas. A home has a meaning of private.
Mmmm... as far as I can see, it doesn't have any activity in sourceforge since 2006-07
May be it is so old that it has no bugs anymore :)
Not really, there are reports unanswered: # Anonymous created the compile issue: realloc was not declared in this scope artifact, 2 months ago # skyrush created the Horizontal diffs shown for non-differing end of line artifact, 3 months ago etc. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklsnCwACgkQtTMYHG2NR9VQTgCgjivJXdA63NXM1driqXCsA6mZ R50An39lQXVjOulie6Fh2sAeGJNwp3me =DPKN -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Jan 13, 2009 at 02:50:34PM +0100, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tuesday, 2009-01-13 at 14:19 +0100, Petr Uzel wrote:
or xxdiff :)
It is not part of the distro.
Yes, but it is in BuildService.
On "home" dirs. I never install anything from home dirs unless told by the owner, they may be for testing bugzillas. A home has a meaning of private.
I also don't like much installing packages from others home: repositories - that's why we've started working on Contrib. <advertisement> Every maintainer who thinks s/he has useful packages in her/his home:* is welcome to maintain it in Contrib. See http://en.opensuse.org/Contrib for details </advertisement> -- Best regards / s pozdravem Petr Uzel, Packages maintainer --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: puzel@suse.cz Lihovarská 1060/12 tel: +420 284 028 964 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Diego Tognola wrote:
...what's an easy way of comparing the contents of two directory trees
If you want to do this in text mode, use { ( cd dir1; find ); ( cd dir2; find ) } | sort | uniq -u Assuming that you want to compare dir1 and dir2. No need for a fancy GUI. ;-) Regards nordi -- Spam protection: All mail to me that does not contain the string "suse" goes to /dev/null. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Carlos E. R.
-
Diego Tognola
-
nordi
-
Petr Uzel
-
Roger Oberholtzer