Page 1 of 1
Difference Between --filter and --file-filter Options
Posted: 07 Feb 2022, 18:57
by HarryMuscle
Is there a difference between the --filter and --file-filter options? I've come across both in various posts and I'm just trying to figure out which one is the correct one to use.
Thanks,
Harry
Re: Difference Between --filter and --file-filter Options
Posted: 07 Feb 2022, 22:02
by rednoah
They're conceptually completely different. Please click on the link for each option in the manual and compare the examples:
https://www.filebot.net/cli.html
1.
--filter is for movie / episode objects. So
Movie / Episode bindings only.
viewtopic.php?t=2127
e.g. match only episodes / movies from after 2000 so that when you process a file named
doctor.who.1x01.mp4 only
Doctor Who (2005) episodes are considered for matching and
Doctor Who (1963) episodes are excluded from matching:
2.
--file-filter is for input files. So
File bindings only.
viewtopic.php?t=4222
e.g. from the files and folders passed as input, select only mp4 files for processing:
--file-filter is conceptually equivalent to
find ... -exec filebot ... {} + in that it takes some input folders, selects files, and passes them on to
filebot for processing.