From owner-freebsd-questions Sun Jun 9 8:12:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sage-one.net (adsl-65-71-135-138.dsl.crchtx.swbell.net [65.71.135.138]) by hub.freebsd.org (Postfix) with ESMTP id 174E637B40E for ; Sun, 9 Jun 2002 08:12:42 -0700 (PDT) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g59FCO880911; Sun, 9 Jun 2002 10:12:25 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20020609101224.01044510@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sun, 09 Jun 2002 10:12:24 -0500 To: Fernando Gleiser From: "Jack L. Stone" Subject: Re: Running Diff of Directories Cc: In-Reply-To: <20020609114333.N7785-100000@localhost> References: <3.0.5.32.20020609092149.01044510@mail.sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 11:46 AM 6.9.2002 -0300, Fernando Gleiser wrote: >On Sun, 9 Jun 2002, Jack L. Stone wrote: > >> I'm trying to run an analysis of two large directories, on two different >> computers and only want to know what file names do not exist in one versus >> the other and want to ignore file size or dates. I have run a directory >> listing on each one, "file1" and "file2". >> >> I assume this is a job for "diff", but don't see "ignore option" for dates >> and file size, except perhaps a regex, which I don't grasp. How would I >> determine only the filenames that exist in file1 but not in file2....??? > >If you don't care about size, dates, permissions, and the like run a >'ls -R' which won't show them. Then you can do a 'diff -u' to see what files >are in one dir and not in the other. > >Hope this helps. > > > Fer > ...of course! It's always the simple & obvious one doesn't see! Thanks Fer.... Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message