CLI Naming Help

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
lloydie11
Posts: 1
Joined: 11 May 2016, 07:18

CLI Naming Help

Post by lloydie11 »

Hello,

I'm using the GUI at the moment to prove what i want is possible, now i can see it is i want to be able to call that from a bash script, however i'm struggling with the format. Looking on the website, i can see some general advice but nothing that really matches my setup.

Within "/Cript/FlexGet/Download/TransmissionStage/" i have a series of folders, and within them they containing media files, i need both the files and the folders renaming, moving to a different top level folder, and then i can clean empty folders on completion.

This works in the GUI with this as my criteria.

/Cript/FlexGet/Download/TransmissionComplete/{n.colon(' - ')} [{y}] [{genre}]/{n.colon(' - ')} [{y}] [{genre}]

I tried this will no joy,

/usr/bin/filebot -rename /Cript/FlexGet/Download/TransmissionStage/ --db TheMovieDB --format "/Cript/FlexGet/Download/TransmissionComplete/{n.colon(' - ')} [{y}] [{genre}]/{n.colon(' - ')} [{y}] [{genre}]"

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

Re: CLI Naming Help

Post by rednoah »

Use the amc script.
:idea: Please read the FAQ and How to Request Help.
Post Reply