Author Topic: Backup C::B setting file in Ubuntu  (Read 3392 times)

Offline ordak

  • Multiple posting newcomer
  • *
  • Posts: 105
    • My Site
Backup C::B setting file in Ubuntu
« on: November 07, 2019, 03:13:55 pm »
Hi,

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

Code
cp -v /home/mehdi/.codeblocks/default.conf /home/mehdi/Documents/Code_Blocks_Projects/
Code::Blocks SVN
OS : Ubuntu LTS

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Backup C::B setting file in Ubuntu
« Reply #1 on: November 07, 2019, 07:32:32 pm »
I'd store the whole folder. Some plugins store their settings in different files.
(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!]

Offline ordak

  • Multiple posting newcomer
  • *
  • Posts: 105
    • My Site
Re: Backup C::B setting file in Ubuntu
« Reply #2 on: November 08, 2019, 01:15:37 pm »
After searching my PC config file is found in here :

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

Is this so since the address given in some links is like my first post in this thread.
Code::Blocks SVN
OS : Ubuntu LTS

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Backup C::B setting file in Ubuntu
« Reply #3 on: November 08, 2019, 02:41:24 pm »
Yes this is the folder. I would store the whole .codeblocks folder

Offline ordak

  • Multiple posting newcomer
  • *
  • Posts: 105
    • My Site
Re: Backup C::B setting file in Ubuntu
« Reply #4 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.
Code::Blocks SVN
OS : Ubuntu LTS