From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N3ndO-0002DT-PN for garchives@archives.gentoo.org; Fri, 30 Oct 2009 09:19:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 752A9E0823; Fri, 30 Oct 2009 09:19:01 +0000 (UTC) Received: from relay01-haj2.antispameurope.com (relay01-haj2.antispameurope.com [83.246.65.51]) by pigeon.gentoo.org (Postfix) with ESMTP id 4A6E9E0823 for ; Fri, 30 Oct 2009 09:19:01 +0000 (UTC) Received: by relay01-haj2.antispameurope.com (ASE-Secure-MTA, from userid 1000) id 51A08160024; Fri, 30 Oct 2009 10:18:59 +0100 (CET) Received: from pluto.fokus.fraunhofer.de (pluto.fokus.fraunhofer.de [195.37.77.164]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by relay01-haj2.antispameurope.com (ASE-Secure-MTA) with ESMTP id 3D2D5160022 for ; Fri, 30 Oct 2009 10:18:57 +0100 (CET) Received: from EXCHSRV.fokus.fraunhofer.de (bohr.fokus.fraunhofer.de [10.147.9.231]) by pluto.fokus.fraunhofer.de (8.14.2/8.14.2) with SMTP id n9U9Ivan022221 for ; Fri, 30 Oct 2009 10:18:57 +0100 (MET) Received: from rigel ([10.147.65.195]) by EXCHSRV.fokus.fraunhofer.de with Microsoft SMTPSVC(6.0.3790.3959); Fri, 30 Oct 2009 10:18:57 +0100 Date: Fri, 30 Oct 2009 10:17:10 +0100 From: Joerg.Schilling@fokus.fraunhofer.de (Joerg Schilling) To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] comparing two complex directories Message-ID: <4aeaaf16.Z3ZU43gg9OiGl5r0%Joerg.Schilling@fokus.fraunhofer.de> References: <4AEA923F.5010308@f_philipp.fastmail.net> In-Reply-To: <4AEA923F.5010308@f_philipp.fastmail.net> User-Agent: nail 11.22 3/20/05 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-OriginalArrivalTime: 30 Oct 2009 09:18:57.0498 (UTC) FILETIME=[024FD3A0:01CA5942] Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 3305594b-85de-432e-b35d-cc1c39f92307 X-Archives-Hash: 9a8929c85bdd08ed4469b99087857243 Florian Philipp wrote: > James schrieb: > > All, > >=20 > > 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: > >=20 > > - rsync dry run (someone said this should work, but I'm having troubl= e > > getting good information out of this) > > - diff -rq (this works, but it's sloowwwwww) > >=20 > > 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). > >=20 > > Thoughts? Any specific / good utilities for doing this? star -c -diff -v -C from-dir . to-dir Check diffopts=3D 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=20 encounter symlinks to directories. J=F6rg --=20 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) J=F6rg Schilling D-13353 = Berlin js@cs.tu-berlin.de (uni) =20 joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blo= gspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schil= y