Page 1 of 1
more than one -exec
Posted: 11 Apr 2018, 21:48
by feuerwasser
I have the problem that i want filebot to execute more than one bash command like "synoindex -a" and "chmod" or "chown". Is that possible and how?
Re: more than one -exec
Posted: 12 Apr 2018, 03:12
by rednoah
You can just call many commands, just like on the command line using semi-colon
(e.g. command1; command2; etc).
@see
https://superuser.com/a/612413/349721
For the sake of clean code, I'd just write a script for all your custom post-processing and then simply call that one script with all the parameters you need. That'll also help you test your post-processing script without FileBot.
Re: more than one -exec
Posted: 18 May 2018, 16:54
by feuerwasser
Thank's a lot! That helped. I just have two post processing commands, so no external script needed but good advice.