Give WinMerge a go - WinMerge
Im trying to do something and I cant think of the easiest way to do it.
I have a config file for something, and it is about 20,000 lines long.
The new version of the software adds about 300 lines of new options at various parts in the file. The new config has the default settings in it.
Without going through the new one and changing each part manually, is there any way I can merge my existing config with the new one, while keeping the new added options intact?
I really dont want to have to edit ~ 10,000 lines again.
I had a look at ultracompare, and it finds the lines that are different, and the most of them match up, but it doesnt seem to replace lines from one to the other ?
RabbieBurns (29th June 2008)
If its just lists (everything on its own line) you can use good ole fashion DOS.
copy 1.txt + 2.txt 3.txt
will append 1.txt to 2.txt in a file called 3.txt.
Just have to ensure theres a carraige return on end of each line I think, its been a while.
ok, I read post again, this wont work for replacing change characters, but still, handy.
I dont want to append files on the end of other files, I want to take lines out of 1 file, and put them into the new file.
for example the old file looks like this
but the new file looks like thisCode:1. Section1: 2. 3. Name=Blah 4. Colour=blue 5. Size=10 6. Font=Times 7. Exist=Yes 8. Blah=1 9. Blab=2
So I want to get my old settings accross to the new config file, but allowing for the new additions which are in the new config file.Code:1. Section1: 2. 3. Name=Crah 4. Colour=green 5. Size=15 6. Newsetting=1 7. Font=Comic 8. Exist=No 9. Blah=2 10. Blab=4
I had a quick look at Winmerge at lunch there, will have a look at Meld after work. Cheers.
Managed to get it sorted with winmerge. Took many hours in the end but the end result is worth it (new skin for my eva8000)
Thanks for the heads up on winmerge OutToLunch
There are currently 1 users browsing this thread. (0 members and 1 guests)