delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/18/10:32:25

From: Martin DOT Stromberg AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: directory compare
Date: 18 Jan 1999 15:15:21 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 18
Message-ID: <77vj69$oap$1@antares.lu.erisoft.se>
References: <77vf40$r7b$1 AT newsserver DOT rrzn DOT uni-hannover DOT de>
NNTP-Posting-Host: juno.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Dirk Färber (faerber AT ant DOT uni-hannover DOT de) wrote:
: 1. It reads two directory structures. E.g. one at c:\user\texte the 
:    other at a:\texte
: 3. It compares every file by size and date and choses whether it's
:    missing in that position of the other directory tree or if it's 
:    newer.
: 4. If it's missing or it's newer an appropiate copy-command is written 
:    into a temporary script file (tmp.bat).
: 5. This script file can be edited prior to execution or it can be 
:    passed through grep to exclude/include specific files. 
:    This is actually an advantage compared to other programs I found!

Have you tried "diff -r"?


Right,

							MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019