Set shell-variable in format expression
Posted: 31 May 2014, 00:54
Hi guys,
after my filebot script moved the the series to the right place, i want to make other things with the series in the new location.
So i thought the best way would be to export or declare the variable after my "--format"-statement like this:
--def exec="newdestpath=\"{file}\""
the filebotvariable "{file}" is the full path of the moved file.
but when i use the variable one line later...:
echo " New Destination Path :" $newdestpath
.... its empty.
Is there a better way to get the full path to the new location?
Thanks for helping!
just.RooT
after my filebot script moved the the series to the right place, i want to make other things with the series in the new location.
So i thought the best way would be to export or declare the variable after my "--format"-statement like this:
--def exec="newdestpath=\"{file}\""
the filebotvariable "{file}" is the full path of the moved file.
but when i use the variable one line later...:
echo " New Destination Path :" $newdestpath
.... its empty.
Is there a better way to get the full path to the new location?
Thanks for helping!
just.RooT