Article View: ch.comp.os.linux
Article #14855Re: Q: verify copy of directory tree?
From: Joerg Hau
Date: Mon, 15 Jan 2001 18:35
Date: Mon, 15 Jan 2001 18:35
23 lines
1665 bytes
1665 bytes
On 15 Jan 2001 18:16:02 +0100, Felix Rauch wrote: > Joerg Hau <joerg.hau@swissonline.ch> wrote: > > I'm looking for a simple way to compare two complete diretory trees on > > a file-by-file basis. I thought of using 'find' together with 'cmp', > > something like > [...] > > Shouldn't something like > diff -r dir1 dir2 > do the trick too? For more details on "diff" see "man diff". Jup, it does (Marc Schaefer told me the same -thanx Marc!). The "problem" was that I always thought 'diff' would only be useful for text files ... ;-) Thanks, -- Joerg ------------------------------------------------------------ joerg.hau(at)swissonline.ch * Lausanne, Switzerland http://www.dplanet.ch/users/joerg.hau/ "All standard disclaimers apply".
Technical Details
Message-ID:
<3tfv39.en1.ln@celeron.localnet>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!skynet.be!fu-berlin.de!uni-berlin.de!dialup-49-4.dplanet.CH!not-for-mailReferences:
<hi6p39.eo3.ln@celeron.localnet> <3a633052@core.inf.ethz.ch>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4b73,888602c4238fd7ad X-Google-Attributes: gidf4b73,public X-Google-ArrivalTime: 2001-01-17 09:26:13 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!skynet.be!fu-berlin.de!uni-berlin.de!dialup-49-4.dplanet.CH!not-for-mail From: Joerg Hau <joerg.hau@swissonline.ch> Newsgroups: ch.comp.os.linux Subject: Re: Q: verify copy of directory tree? Date: Mon, 15 Jan 2001 19:35:15 +0100 Organization: I speak for myself Lines: 27 Message-ID: <3tfv39.en1.ln@celeron.localnet> References: <hi6p39.eo3.ln@celeron.localnet> <3a633052@core.inf.ethz.ch> NNTP-Posting-Host: dialup-49-4.dplanet.ch (212.35.49.4) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 979752371 12976599 212.35.49.4 (16 [54693]) X-Newsreader: KNode 0.1.13