is it possible to store the resulting format value into a var/an array to use it in a custom script without doing something else?
Has filebot native support for such an approach?
At the moment I am using this (simplified) code to get all matching values into a loop or an array:
Code: Select all
filebot {CUSTOM_ARGS} --action test --format "{CUSTOM_FORMAT}" -rename "{SINGLE_FILE OR DIR}" | grep "\[TEST\]" | cut -d'[' -f4 | while read file;
echo "$file"
do
Kind regards,
tresi