Newb help executing script

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Keo
Posts: 1
Joined: 06 Dec 2014, 22:56

Newb help executing script

Post by Keo »

I've read all of the manuals that are posted and I am still having problems getting a script running from command line. Here is what I am running:

Code: Select all

/Applications/Filebot.app/Contents/MacOS/FileBotAppLauncher -script "/usr/local/bin/filebot/scripts-4.1/sortivo.groovy" "/users/jlrosiak/movies/TiVoShows" --output "/users/jlrosiak/movies/TiVoShows"
All this does is output the script startup and then throws the help information.

Code: Select all

ileBot 4.5.2 (r2648) / Java(TM) SE Runtime Environment 1.8.0_25 (headless)

 --action [move, copy, keeplink,        : Rename action
 symlink, hardlink, test]                  
 --conflict [skip, override, auto,      : Conflict resolution
 fail]                                     
 --db [TheTVDB, AniDB, TVRage] or       : Episode/Movie database
 [TheMovieDB, OMDb] or [xattr]             
 --def [name=value]                     : Define script variables
 --encoding [UTF-8, Windows-1252,       : Output character encoding
 GB18030]                                  
 --filter expression                    : Filter expression
 --format expression                    : Format expression
 --lang 2-letter language code          : Language
 --log [all, fine, info, warning, off]  : Log level
 --log-file path/to/log.txt             : Log file
 --log-lock [yes, no]                   : Lock log file
 --mode [rename, subtitles, sfv]        : Open GUI in single panel mode
 --order [Airdate, Absolute, DVD]       : Episode order
 --output folder                        : Output path
 --q series/movie title                 : Force lookup query
 -check fileset                         : Create/Check verification files
 -clear-cache                           : Clear cached and temporary data
 -clear-prefs                           : Clear application settings
 -extract                               : Extract archives
 -get-missing-subtitles fileset         : Fetch missing subtitles
 -get-subtitles fileset                 : Fetch subtitles
 -help                                  : Print this help message
 -list                                  : Fetch episode list
 -mediainfo                             : Get media info
 -no-analytics                          : Disable analytics
 -no-xattr                              : Disable extended attributes
 -non-strict                            : Enable advanced matching and more
                                          aggressive guess work
 -r                                     : Resolve folders recursively
 -rename fileset                        : Rename episode/movie files
 -script path/to/script.groovy          : Run Groovy script
 -unixfs                                : Do not strip invalid characters from
                                          file paths
 -version                               : Print version identifier
Would someone please help me figure out what I am doing wrong?

I am running on a Mac OS and using the newest version of FileBot
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Newb help executing script

Post by rednoah »

FileBotAppLauncher is the launcher for the GUI application. The CLI application is completely different. The easiest way to install the 'filebot' command is to install FileBot via brew cask which will automatically create the necessary symlinks.

@see http://www.filebot.net/forums/viewtopic.php?f=4&t=2049
:idea: Please read the FAQ and How to Request Help.
Post Reply