News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Is there any tools to immigrate cb settings to other machine?

Started by huzhongshan, March 08, 2015, 12:22:04 AM

Previous topic - Next topic

huzhongshan

I got a new machine , and wants to immigrate all the settings of cb to the new machine.
I found I had to find the user templates in appdata/...../codeblocks/... to copy them by hand.

Is there any tools to immigrate all user setting (include user templates and syn highlights , fond , color etc) ?

stahta01

Yes, no idea if it will work for different type OSes.

Lookup the cb tool called cb_share_config.exe on windows.
Edit: It is a stand alone tool to be used without CB running when using it.

NOTE: Backup the codeblocks config file before trying to use the tool.
It works in a weird manner the one time I tried to use it.

Edit2: It does NOT move templates to my knowledge.

Edit3: I would likely just copy the CB default config file if I wished to move all of it.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Jenna

I would copy the whole "%APPDATA%\CodeBlocks"-folder to get all templates and other stuf.
This folder will otherwise be created from scratch on first run of C::B.
You might have to fix the toolchains afterwards, or leave out the "[personality].conf" file(s) and migrate them using "cb_share_config(.exe)" .

huzhongshan

Is it possible to make a tool to pack and unpack all user data ( including syntanx highlight , font AND user template )?

oBFusCATed

No reason to waste time on doing it. There are already plenty of tools already available that will do a better job (explorer, zip, rar, 7zip, copy, etc). Just copy %APPDATA%\Codeblocks and you'll have everything you need. CB doesn't store users setting anywhere else.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

huzhongshan

Quote from: oBFusCATed on March 09, 2015, 12:54:37 AM
No reason to waste time on doing it. There are already plenty of tools already available that will do a better job (explorer, zip, rar, 7zip, copy, etc). Just copy %APPDATA%\Codeblocks and you'll have everything you need. CB doesn't store users setting anywhere else.
? we call this self-contained.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]