How to replace folders in Linux?

Hello guys,

I have folder where i have addons, theme, config, the preference setting etc. I need to replace this folder to avoid install all that again.

Is this possible or do i need to install and make the preference setting again?

How to do it please?

Blender is installed via Flatpak

Thank you.

You may just copy from you *old version to the *new one..
see also DocsBlender Manual β†’ advanced β†’ blender directory layout ..

:exclamation: Albeit this may vary if using flatpack.. :exclamation:

The official binaries from blender.org usually works perfectly by just unpacking them; even in an β€œolder” distro (using Debian 10 and 11 here..)

In linux this may look like so (with setting the $OLD and new $NEW variables or directly replacing them..)

cp -ab ~/.config/blender/$OLD/scripts/addons/* ~/.config/blender/$NEW/scripts/addons/

with parameters:
-a for using the same rights and date-time
-b to make backups if there is already something in this folder
* for every file in this folder
and last / ( !!! ) to copy into this folder (and )

( I β€œhate” it when people just give tips and then do not explain a little how this works.. and when the user simply do what "he was told to do.. :stuck_out_tongue_winking_eye: )

Of course: doing backups are always a nice idea :wink: ..

There may be also and addon_contrib folder and also some .config/$VERSION/datafiles folder.. depending on the addons.

Also some addons may have to be updated anyway.. because there are newer versions for the newer blender..