Re: Compare Directories and Files

new topic     » goto parent     » topic index » view thread      » older message » newer message

don cole wrote:
> 
> Hello Everybody,
> 
> I am working on and wonder if anyone else has written a program that compares
>  as such.
> 
> [Part 1]
>  Directory A to Directory B.
> 
> The following files have the same name and length.
> 
> The following files are different.
> 
> [Part 2]
>  File A to File B.
> 
> The files are exactly the same.
> 
> or 
> 
> File A is different from File B at line 2007 in that it has been changed from
> puts(1,"&&&")
> to puts(1,"***").
> 
> 
> I'm using Combos to do this. Has it been done? Any ideas?
> 
> 
> Don Cole

Hi Don,

Yes, i had made a program like this to verify CD burns.
If i remember right, it will parse directories and sub directories
and compare those on one drive with those on another drive and
report any differences in bytes in any of the files it finds,
or if any files are missing or added.
I dont think it would be too hard to make it compare directories on
the same drive though, with a small amount of code change.

Another program i have does only one directory at a time, which
you enter in as a Euphoria sequences like Dir1="C:\MyDir" and
Dir2="C:\MyOtherDir" or something like that.


Take care,
Al

E boa sorte com sua programacao Euphoria!


My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu