Page 1 of 1

[DOCS] The -script Option

Posted: 03 Nov 2012, 13:13
by rednoah
FileBot scripts can be passed in in various ways:

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
All the scripts from our script repository can be called via fn:name, but that's just for convenience.

Code: Select all

filebot -script fn:sysinfo
3. Standard Input

Code: Select all

filebot -script system:in < test.groovy
4. Inline

Code: Select all

filebot -script "g:println 'Hello World!'"