Re: [Freedos-user] Directory comparison program

2024-03-20 Thread Eric Auer via Freedos-user


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


Re: [Freedos-user] Directory comparison program

2024-03-20 Thread hms--- via Freedos-user
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?




On 20.03.2024, at 08:55, hms--- via Freedos-user 
 wrote:

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





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


Re: [Freedos-user] Directory comparison program

2024-03-20 Thread Karen Lewellen via Freedos-user

Hi John,
Could  You help us help you more by sharing a bit about your goals?
Are you wanting to compare directory to learn if all files were moved 
from one place to another, as if doing a backup to a USB  drive?

Are you wanting to check file attributes?
Are you wanting to compare the kind of information a tool shares about 
directories?

Kare



On Wed, 20 Mar 2024, hms--- via Freedos-user wrote:


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





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


Re: [Freedos-user] Directory comparison program

2024-03-20 Thread hms--- via Freedos-user
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?




On 20.03.2024, at 08:55, hms--- via Freedos-user 
 wrote:

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





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


Re: [Freedos-user] Directory comparison program

2024-03-20 Thread Thomas Cornelius Desi via Freedos-user
You mean it would list filenames differing from a Dir /foo  and Dir /fuzz like 
in a diff program? 



> On 20.03.2024, at 08:55, hms--- via Freedos-user 
>  wrote:
> 
> 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
> 



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


[Freedos-user] Directory comparison program

2024-03-20 Thread hms--- via Freedos-user

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