[SOLVED] Mass options change for all servers in the putty
GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Window size, scroll back "and some behaviour option" are local PuTTY options. A you already indicated using the Windows registry for saving configuration options this question does not belong in this forum but in /General and I've asked for it to be moved there. Making mass changes to the Windows registry requires either you export the keys to a text file, make changes using a regex-capable text editor and importing the .reg file again or a registry editor that can make change directly.
Now I am just wondering.. cause I am not a Windows expert, could I edit this file, save as file.txt, and made some replacement of the strings using sed or perl, for all of them in cygwin console? And after that, save it as .reg file, and import in Windows?
Linux is a better environment for making operations on files
I have exported it to .reg file, and edit it by Windows notepad... save as .txt file, then convert some fields using sed in cygwin, save as .txt, convert this txt file to windows format and save to reg file.. And after that, when I edit the file it looks normal.. But it is really? I think that if there will be some issues when importing the file, is should warn me that there are some errors in the file, right?
Exactly how I wrote before.. I made file modification in cygwin, and after importing it to registry as a file.reg it's working well