Tuesday 3 June 2008

A Program that saved my life : Winmerge

[TR]
Geçenlerde bir portal'ın web.config dosyasına bişeyler eklemem gerekti. notepag ile açıp bikaç değişiklik yaptım. Daha sonra yeniden değişiklik yapmam gerektiğinde notepad yerine wordpad ile açıp değişikliği yaptım ve dosyayı kaydedip kapattım. Siteye girmeye çalıştığımda portalin yerinde yeller esmekte olduğunu gördüm.
Meğerse wordpad config dosyayının içine birsürü saçma sapan karakter eklemiş.
O anda bir arkadaşın tavsiyesiyle winmerge programını kurdum. Bu program verdiğiniz 2 dosya (hatta klasör) arasındaki farkları size gösteriyor. Bi kenarda bulunsun lazım olur :)

http://winmerge.org/

[ENG]
A couple of days ago I needed to edit web.config file. I opened it with notepad and make some changes on it. Then I needed to edit the file again and I opened it with wordpad, editted and saved the config file. When I turned back to moss site I saw that portal is not working.
I realised that wordpad added some spacial characters to the config file. At that point a friend of mine suggested winmerge to me. This program compares 2 files (even folders) and shows the differences between them. It will be useful to memorise it's name :)

http://winmerge.org/

No comments: