Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: ordak on November 07, 2019, 03:13:55 PM

Title: Backup C::B setting file in Ubuntu
Post by: ordak on November 07, 2019, 03:13:55 PM
Hi,

Is this command OK for making a backup of C::B settings in Ubuntu :

cp -v /home/mehdi/.codeblocks/default.conf /home/mehdi/Documents/Code_Blocks_Projects/
Title: Re: Backup C::B setting file in Ubuntu
Post by: oBFusCATed on November 07, 2019, 07:32:32 PM
I'd store the whole folder. Some plugins store their settings in different files.
Title: Re: Backup C::B setting file in Ubuntu
Post by: ordak on November 08, 2019, 01:15:37 PM
After searching my PC config file is found in here :

/home/mehdi/.config/codeblocks/default.conf

Is this so since the address given in some links is like my first post in this thread.
Title: Re: Backup C::B setting file in Ubuntu
Post by: BlueHazzard on November 08, 2019, 02:41:24 PM
Yes this is the folder. I would store the whole .codeblocks folder
Title: Re: Backup C::B setting file in Ubuntu
Post by: ordak on November 08, 2019, 03:20:00 PM
I has some "User templates" in config directory which did not copy. calling cp -r rest causes that folder and it's files content to be copied too.