1. Compare Directories and Files
- Posted by don cole <doncole at pacbe?l.net> Jun 30, 2007
- 680 views
- Last edited Jul 01, 2007
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
2. Re: Compare Directories and Files
- Posted by Al Getz <Xaxo at a?l.com> Jul 01, 2007
- 692 views
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."
3. Re: Compare Directories and Files
- Posted by don cole <doncole at pacbell?net> Jul 03, 2007
- 649 views
- Last edited Jul 04, 2007
Al Getz wrote: > > 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. > > > Al > > E boa sorte com sua programacao Euphoria! > > > My bumper sticker: "I brake for LED's" > Thanks Al, Sorry it to so long to get back to you. Don Cole