Mail Archives: djgpp/1999/01/18/09:22:26
From: | faerber AT ant DOT uni-hannover DOT de (Dirk Färber)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | directory compare
|
Date: | 18 Jan 1999 14:05:52 GMT
|
Organization: | Institut für Allgemeine Nachrichtentechnik
|
Lines: | 34
|
Message-ID: | <77vf40$r7b$1@newsserver.rrzn.uni-hannover.de>
|
NNTP-Posting-Host: | at74.ant.uni-hannover.de
|
Mime-Version: | 1.0
|
X-Newsreader: | WinVN 0.99.8 (x86 32bit)
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hi,
I've once written a program in pascal for a DOS-machine which does the
following:
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!
A further advantage of this non-graphical program is, that it can be
run easily from script-files (foo.bat).
Before I adapt this program to long-filenames in Windows95 with Pascal
I would prefer to rewrite it in C, if - and that's the question now -
if not anyone else had already written something like this.
Does anybody knows such a program which does directory comparision
and which is written preferable for djgpp?
Thanks in advance
-Dirk
- Raw text -