* [gentoo-user] comparing two complex directories
@ 2009-10-29 18:35 James
2009-10-29 18:37 ` James Ausmus
2009-10-30 7:14 ` Florian Philipp
0 siblings, 2 replies; 4+ messages in thread
From: James @ 2009-10-29 18:35 UTC (permalink / raw
To: gentoo-user
All,
I'm trying to find a good way to compare two complex directory
structures to see what files differ. I've looked at a few different
options:
- rsync dry run (someone said this should work, but I'm having trouble
getting good information out of this)
- diff -rq (this works, but it's sloowwwwww)
I've used cdircmp before but it tends to crash on complex directories
(a directory with more than a few subdirs and with hidden dot files).
Thoughts? Any specific / good utilities for doing this?
-j
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] comparing two complex directories
2009-10-29 18:35 [gentoo-user] comparing two complex directories James
@ 2009-10-29 18:37 ` James Ausmus
2009-10-30 7:14 ` Florian Philipp
1 sibling, 0 replies; 4+ messages in thread
From: James Ausmus @ 2009-10-29 18:37 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 662 bytes --]
On Thu, Oct 29, 2009 at 11:35 AM, James <jtp@nc.rr.com> wrote:
> All,
>
> I'm trying to find a good way to compare two complex directory
> structures to see what files differ. I've looked at a few different
> options:
>
> - rsync dry run (someone said this should work, but I'm having trouble
> getting good information out of this)
> - diff -rq (this works, but it's sloowwwwww)
>
> I've used cdircmp before but it tends to crash on complex directories
> (a directory with more than a few subdirs and with hidden dot files).
>
> Thoughts? Any specific / good utilities for doing this?
>
>
I've had good luck with dev-util/dirdiff before...
-James
> -j
>
>
[-- Attachment #2: Type: text/html, Size: 1217 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] comparing two complex directories
2009-10-29 18:35 [gentoo-user] comparing two complex directories James
2009-10-29 18:37 ` James Ausmus
@ 2009-10-30 7:14 ` Florian Philipp
2009-10-30 9:17 ` Joerg Schilling
1 sibling, 1 reply; 4+ messages in thread
From: Florian Philipp @ 2009-10-30 7:14 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 590 bytes --]
James schrieb:
> All,
>
> I'm trying to find a good way to compare two complex directory
> structures to see what files differ. I've looked at a few different
> options:
>
> - rsync dry run (someone said this should work, but I'm having trouble
> getting good information out of this)
> - diff -rq (this works, but it's sloowwwwww)
>
> I've used cdircmp before but it tends to crash on complex directories
> (a directory with more than a few subdirs and with hidden dot files).
>
> Thoughts? Any specific / good utilities for doing this?
>
> -j
>
Meld, KDiff3?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] comparing two complex directories
2009-10-30 7:14 ` Florian Philipp
@ 2009-10-30 9:17 ` Joerg Schilling
0 siblings, 0 replies; 4+ messages in thread
From: Joerg Schilling @ 2009-10-30 9:17 UTC (permalink / raw
To: gentoo-user
Florian Philipp <lists@f_philipp.fastmail.net> wrote:
> James schrieb:
> > All,
> >
> > I'm trying to find a good way to compare two complex directory
> > structures to see what files differ. I've looked at a few different
> > options:
> >
> > - rsync dry run (someone said this should work, but I'm having trouble
> > getting good information out of this)
> > - diff -rq (this works, but it's sloowwwwww)
> >
> > I've used cdircmp before but it tends to crash on complex directories
> > (a directory with more than a few subdirs and with hidden dot files).
> >
> > Thoughts? Any specific / good utilities for doing this?
star -c -diff -v -C from-dir . to-dir
Check diffopts= to learn how to tell star what to compare.
It is fast, compares all file attributes and it does not go into loops if you
encounter symlinks to directories.
Jörg
--
EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js@cs.tu-berlin.de (uni)
joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-30 9:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-29 18:35 [gentoo-user] comparing two complex directories James
2009-10-29 18:37 ` James Ausmus
2009-10-30 7:14 ` Florian Philipp
2009-10-30 9:17 ` Joerg Schilling
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox