[DOCS] The -script Option
Posted: 03 Nov 2012, 13:13
FileBot scripts can be passed in in various ways:
1. Local Files
2. URLs
All the scripts from our script repository can be called via fn:name, but that's just for convenience.
3. Standard Input
4. Inline
1. Local Files
Code: Select all
filebot -script C:/test.groovy
2. URLs
Code: Select all
filebot -script http://filebot.sourceforge.net/scripts/sysinfo.groovy
Code: Select all
filebot -script fn:sysinfo
Code: Select all
filebot -script system:in < test.groovy
Code: Select all
filebot -script "g:println 'Hello World!'"