Page 1 of 1
Script generation from Win GUI
Posted: 12 Jun 2025, 20:13
by Joombler
Storing files on Debian and rename them through Win version of Filebot.
Works fine. Is there a way of generating a command line from the preset(s) I use with the windows version so that I can use it for processing after downloads? Perhaps a debug file that I can read from? Thanks, Jmblr
Re: Script generation from Win GUI
Posted: 13 Jun 2025, 05:43
by rednoah

Yes, you can write and execute
filebot commands and so create your own
*.sh or
*.cmd scripts. Please read the
FileBot Command-line Interface manual for details.

Unfortunately, there is no command generator for the
Presets feature of the FileBot Desktop application.
FileBot Node is essentially a command generator for the
amc script though.

That said, all the concepts are the same, so it's mostly copy & paste. Your custom format is passed in via the
--format option. The log file is passed in via the
--log-file option. And so on. It's an extremely simple and straight-forward task, so ChatGPT and friends will likely do a good job here.
e.g. Do Select files:
/input, Datasource:
TheMovieDB, Rename Action:
Hardlink, Format Expression:
/output/{plex.id}, Debug Log:
/path/to/debug.log
Shell: Select all
filebot -rename -r "/input" --db TheMovieDB -non-strict --action Hardlink --output "/output" --format "{plex.id}" --log-file "/path/to/debug.log"
** make sure to read How can I use the same format in both GUI and CLI? if your custom format is more complex
Re: Script generation from Win GUI
Posted: 13 Jun 2025, 07:47
by Joombler
Thanks, that will help.
Should have searched the forum on topic prior anyway - sorry for that.
Cheers, Jmblr
Re: Script generation from Win GUI
Posted: 13 Jun 2025, 10:07
by rednoah
Let us know what you come up with. Might be useful for the next guy.