[Mac] brew cask install filebot

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc
Post Reply
User avatar
rednoah
The Source
Posts: 13755
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/app.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`
:idea: Please read the FAQ and How to Request Help.

raymond
Posts: 9
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: 13755
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
: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: 13755
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
: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: 13755
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.
:idea: Please read the FAQ and How to Request Help.

rico
Posts: 4
Joined: 20 Jul 2018, 03:19

macOS cli license

Post by rico » 20 Jul 2018, 03:26

I installed from the Apple App Store and the GUI works fine.

I'm trying to get the cli working, but am having trouble getting it registered. I run

Code: Select all

filebot --license *.psm
and what appears to be the same GUI interface pops up and proclaims, as does the command line,

Code: Select all

License Error: UNREGISTERED
I've searched for this `psm` file, but haven't located it. Please help!

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

Re: [Mac] brew cask install filebot

Post by rednoah » 20 Jul 2018, 12:05

TL;DR If you want to use the CLI, then you will need to ask Apple to refund your purchase ASAP, and purchase an FileBot cross-platform license instead.


1.
The Mac App Store does not support / allow command-line tools:
viewtopic.php?f=12&t=5983

:!: The MAS version does not have a CLI.


2.
You seem to have installed [BETA] FileBot 4.8.2 (with support for all platforms with cross-platform license system) which is completely different and licensed separately from the Mac App Store version.

:!: This version requires a license file and is completely separate from the Mac App Store. You will not be able to use your MAS purchase to unlock the non-MAS version of FileBot.
:idea: Please read the FAQ and How to Request Help.

rico
Posts: 4
Joined: 20 Jul 2018, 03:19

Re: [Mac] brew cask install filebot

Post by rico » 20 Jul 2018, 14:49

Thank you for your response. I'll do as you suggest.

rico
Posts: 4
Joined: 20 Jul 2018, 03:19

Re: [Mac] brew cask install filebot

Post by rico » 20 Jul 2018, 14:58

The return went fine, but how do I purchase the CLI/cross-platform license? I installed it via homebrew per this thread.

rico
Posts: 4
Joined: 20 Jul 2018, 03:19

Re: [Mac] brew cask install filebot

Post by rico » 20 Jul 2018, 17:37

I found the link in another thread:
https://www.filebot.net/purchase.html#spk.

It works, now!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest