export, edit and import preset

Support for unRAID and docker container users
Post Reply
User avatar
bonelifer
Power User
Posts: 86
Joined: 23 Mar 2013, 18:27

export, edit and import preset

Post by bonelifer »

I have a Lidarr docker(under Xubuntu 22.04). I have setup a Dockerfile to add the portable Filebot download to the docker image and install all the needed dependencies via Alpine apk in the Dockerfile. All works great, including adding the license afterwards with a bash script. I'd like to export a single preset(from my bare metal install), change the directory to match the "inside" docker path, and import it into the docker install of Filebot. How would I export/then import my bare metal created preset into this essentially headless install. Heads up, I'm just a regular docker user, these changes where made for me by AI. I just can't get this last part correct by using AI. Otherwise it's installed and I'm able to see help and version from Portainer console.
User avatar
rednoah
The Source
Posts: 24030
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: export, edit and import preset

Post by rednoah »

If you're using the GUI and want to import / export Presets then you can do that via Backup and Restore Settings.

If you're using the CLI then everything is in the command-line call that you can just copy & paste from one machine to another.
:idea: Please read the FAQ and How to Request Help.
User avatar
bonelifer
Power User
Posts: 86
Joined: 23 Mar 2013, 18:27

Re: export, edit and import preset

Post by bonelifer »

Can I just dump those in the ~/.filebot folder?
User avatar
rednoah
The Source
Posts: 24030
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: export, edit and import preset

Post by rednoah »

bonelifer wrote: 27 Jun 2025, 06:07 Can I just dump those in the ~/.filebot folder?
I recommend using the Export User Data and Restore User Data buttons:

Screenshot



:idea: If you just copy the underlying storage then it might work, or it might not, or it might work partially. Your live settings are stored via system preferences, e.g. Registry on Windows, UserDefaults on macOS, etc. FileBot may be configured to store system settings to a *.json file if you're using the portable package.

:arrow: If you're using the standard Linux package, then system preferences are likely stored in the $HOME/.java/.userPrefs file structure:
https://stackoverflow.com/a/1320798/1514467
:idea: Please read the FAQ and How to Request Help.
User avatar
bonelifer
Power User
Posts: 86
Joined: 23 Mar 2013, 18:27

Re: export, edit and import preset

Post by bonelifer »

No GUI on the Lidarr docker image. Host system is Xubuntu. I exported with button. By dump I meant from the export file.
User avatar
rednoah
The Source
Posts: 24030
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: export, edit and import preset

Post by rednoah »

You can import / export preferences from the command-line like so:
rednoah wrote: 08 Oct 2016, 07:34 Export preferences:

Shell: Select all

filebot -script fn:preferences --output /path/to/folder
Import preferences:

Shell: Select all

filebot -script fn:preferences /path/to/preferences.xml


EDIT:

Note that if you’re using the CLI then there are no Presets since Presets is a GUI feature. On the CLI you’d just copy and paste the command, or create your own shell script file that calls filebot with your preferred options (e.g. amc.sh).
:idea: Please read the FAQ and How to Request Help.
Post Reply