more than one -exec
- feuerwasser
- Posts: 13
- Joined: 04 Mar 2015, 18:38
more than one -exec
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
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.
@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.
- feuerwasser
- Posts: 13
- Joined: 04 Mar 2015, 18:38
Re: more than one -exec
Thank's a lot! That helped. I just have two post processing commands, so no external script needed but good advice.