Hi,
is there a way to use this command with folder
--def "exec=touch '{file}'"
like
--def "exec=touch '{folder}'"
Execute Program on processed Folder. not on file
Re: Execute Program on processed Folder. not on file
1.
If FileBot is processing the folder as single unit (e.g. DVD folder) then {file} will be that folder, and {folder} is jus1t short for {file.parentFile} anyway.
@see https://github.com/svn2github/filebot/b ... .java#L745
2.
If you need conditionals then you can just do something like {file.isDirectory() ? 'A' : 'B'}
@see File.isDirectory()
PS: Thanks for you RaspPi tutorial! I'm sure it took a while to get all the native code working.
If FileBot is processing the folder as single unit (e.g. DVD folder) then {file} will be that folder, and {folder} is jus1t short for {file.parentFile} anyway.
@see https://github.com/svn2github/filebot/b ... .java#L745
2.
If you need conditionals then you can just do something like {file.isDirectory() ? 'A' : 'B'}
@see File.isDirectory()
PS: Thanks for you RaspPi tutorial! I'm sure it took a while to get all the native code working.