pass {n} with --def exec

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
michiil
Posts: 3
Joined: 28 May 2015, 17:41

pass {n} with --def exec

Post by michiil »

hey there,
i have written a script where i would need the name of my downloaded stuff. but if i use "exec=bash /filebot/script.sh 'n'" the name doesn't get passed..
am i doings something wrong or is it just not possible?

thanks in advance
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: pass {n} with --def exec

Post by rednoah »

{n} will only work if xattr is enabled and working so that full metadata is stored in the filesystem. If xattr metadata is not stored / enabled then you will not be able to access that kind of metadata.

File-based bindings like {fn} will always work so you should be able to get the name from filename if need be.
:idea: Please read the FAQ and How to Request Help.
Post Reply