[DOCS] The -script Option

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc
Post Reply
User avatar
rednoah
The Source
Posts: 16546
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

[DOCS] The -script Option

Post by rednoah » 03 Nov 2012, 13:13

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!'"
:idea: Please read the FAQ and How to Request Help.

Post Reply