UFC filter trying to filter out Prelims from result

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
syralk
Posts: 7
Joined: 15 Nov 2019, 19:29

UFC filter trying to filter out Prelims from result

Post by syralk »

Hi i'm trying to do a CLI auto renamer but it keep giving me the prelims

filebot -rename --db TheMovieDB -non-strict --action test "UFC Fight Night 171"

When I look at the result is giving me this list

UFC Fight Night 171 Prelims (2020)
UFC Fight Night 171: Smith vs. Teixeira (2020)
Knockabout (1979)
The Fight (2007)

is there a way to filter out any Prelims?
User avatar
rednoah
The Source
Posts: 22975
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: UFC filter trying to filter out Prelims from result

Post by rednoah »

You could try the --filter option:
viewtopic.php?t=2127

e.g.

Code: Select all

--filter '!(n =~ /Prelims/)'
:idea: Please read the FAQ and How to Request Help.
syralk
Posts: 7
Joined: 15 Nov 2019, 19:29

Re: UFC filter trying to filter out Prelims from result

Post by syralk »

thanks it works :)
Post Reply