[Mac] brew cask install filebot

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

[Mac] brew cask install filebot

Post by rednoah » 08 Oct 2014, 10:21

The easiest way to install FileBot on Mac OS X and setting up the filebot console tools is to just have brew package manager do it all, fully automatically. :ugeek:


:idea: Since Apple does not allow command-line tools in the Mac App Store you will need to install the filebot console tools via brew even if you have already bought FileBot from the App Store.


In Terminal do:


If you're feeling lazy you can install or upgrade the FileBot Command-Line Tools by running the following command:

Code: Select all

sh -xu <<< "$(curl -fsSL https://raw.githubusercontent.com/filebot/plugins/master/installer/brew.sh)"

If you feel like running each command yourself step by step, please follow the instructions:


1. Install brew:

Code: Select all

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew may require the Command Line Tools for Xcode and the easiest way to get them is running xcode-select --install or installing Xcode via App Store.

2. Update brew package index:

Code: Select all

brew update && brew upgrade
3. Install Java:

Code: Select all

brew cask install java
4. Install FileBot:

Code: Select all

brew cask install filebot --force --appdir=~/Applications
:arrow: Check if filebot is working:

Code: Select all

filebot -script fn:sysinfo

:arrow: If you want to upgrade filebot you can run:

Code: Select all

brew update && brew upgrade && brew cask install filebot --force --appdir=~/Applications
:arrow: If you want to uninstall filebot you can run:

Code: Select all

brew cask uninstall filebot --appdir=~/Applications
:idea: If you have $PATH issues when running filebot (e.g. if /usr/local/bin is not in the $PATH) then you may use the absolute path to the executable:

Code: Select all

/usr/local/bin/filebot

:idea: If you want understand what is executed exactly when you call filebot you can run:

Code: Select all

ls -l `which filebot`
My (very excellent) support depends on Windows Store and Mac App Store sales and Patreon support. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

:idea: Please read the FAQ and How to Request Help.

raymond
Posts: 4
Joined: 04 Apr 2018, 06:46

Re: [Mac] brew cask install filebot

Post by raymond » 05 Apr 2018, 11:21

rednoah wrote:
08 Oct 2014, 10:21
3. Install Java:

Code: Select all

brew cask install java
With current version of brew this will install java9. filebot uses java8. I suggest this should now be

Code: Select all

brew cask install java8

jprokos
Posts: 33
Joined: 09 Oct 2016, 02:01

Re: [Mac] brew cask install filebot

Post by jprokos » 22 Apr 2018, 20:55

:idea: Since Apple does not allow command-line tools in the Mac App Store you will need to install the filebot console tools via brew even if you have already bought FileBot from the App Store.
Does installing the FileBot package using brew write over the AppStore Version? I notice it's installing into the Applications folder.

User avatar
rednoah
The Source
Posts: 13539
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [Mac] brew cask install filebot

Post by rednoah » 23 Apr 2018, 06:18

No. Not if you follow the instructions above:

Code: Select all

brew cask install filebot --force --appdir=~/Applications
My (very excellent) support depends on Windows Store and Mac App Store sales and Patreon support. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

:idea: Please read the FAQ and How to Request Help.

RafaelSantos
Posts: 3
Joined: 12 Aug 2016, 14:40

Re: [Mac] brew cask install filebot

Post by RafaelSantos » 04 May 2018, 13:17

Hi, I have the Mac App Store Filebot and would like to install the command line tool, but I don't really want to install brew (I already have MacPorts). Is there any alternative? Is it possible to download the standalone filebot.jar file to run command line applications? Thanks.

User avatar
rednoah
The Source
Posts: 13539
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [Mac] brew cask install filebot

Post by rednoah » 04 May 2018, 13:21

You can make it work manually by reading and understanding the brew cask formula, and then just download / extract / symlink things yourself as necessary:
https://github.com/caskroom/homebrew-ca ... filebot.rb
My (very excellent) support depends on Windows Store and Mac App Store sales and Patreon support. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

:idea: Please read the FAQ and How to Request Help.

jp4500
Posts: 6
Joined: 23 Aug 2015, 01:55

Re: [Mac] brew cask install filebot

Post by jp4500 » 16 May 2018, 16:57

Hi,

I installed successfully and ran the test and curious about something I see in the results:

- It says `UPDATE AVAILABLE: FileBot 4.8 (r5280)` but I did get the latest AFAIK. Is there another way to update?

Code: Select all

~/Downloads$ filebot -script fn:sysinfo
FileBot 4.7.9 (r4984)
JNA Native: 5.1.0
MediaInfo: 0.7.93
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-03-16 (r516)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_172
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 1 GB Max Memory / 15 MB Used Memory
OS: Mac OS X (x86_64)
Package: APP
uname: Darwin macbook-air.local 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64

-------------------- UPDATE AVAILABLE: FileBot 4.8 (r5280) ---------------------

Done ヾ(@⌒ー⌒@)ノ
(NOTE: I had to uninstall java 9 and install java 8 to fix some WARNING's that showed up originally)

User avatar
rednoah
The Source
Posts: 13539
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [Mac] brew cask install filebot

Post by rednoah » 16 May 2018, 17:24

There is indeed no update for the CLI, but unfortunately the update notification code doesn't have support for different platforms having different latest revisions.
My (very excellent) support depends on Windows Store and Mac App Store sales and Patreon support. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

:idea: Please read the FAQ and How to Request Help.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest