You could try a DOS port of (GNU, diffutils?) "diff", for
example from the Delorie DJGPP compiler website.

Diff can be used to list differences in text content of files
or directories full of files, but you can also use it with
options "-qr" to just get a list which files only exist in
which of the two directories and which files exist in both
with different contents. Files which exist in both and have
the same contents will not get listed, unless you add the
option -s

Whether file sizes differ is covered by whether contents do,
but diff does not tell you whether date and time differ.

You could abuse the dry run mode of rsync for that, maybe,
but this would probably be a weird solution for the task.

So I suggest: diff -qr onedirectory otherdirectory or, at
your choice, diff -qrs onedirectory otherdirectory :-)

Eric



Yes indeed. It would be recursive too. Report the absence or presence of files/ directories, differences of file sizes, date/ time.

On 2024/03/20 10:38, Thomas Cornelius Desi wrote:
You mean it would list filenames differing from a Dir /foo  and Dir /fuzz like in a diff program?

Does any know of a directory comparison program?
John





_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to