GUI
Presets allow you to set a default input folder from which files are loaded. An additional file filter expression allows you to select only specific files from that default input folder.e.g. select only video files:
Groovy: Select all
f.videoGroovy: Select all
f.episodeGroovy: Select all
none{ f.episode }Groovy: Select all
none{ ext =~ /jpg|png/ }{ fn.match(/sample|trailer/) }{ folder.path.match(/Extras|Featurettes/) }Groovy: Select all
none{ historic.f || f.metadata }CLI
The --file-filter option can be used to pass a file filter expression on the command-line:e.g. select only video files:
Shell: Select all
filebot -rename -r "/path/to/files" --file-filter "f.video"Shell: Select all
filebot -rename -r . --file-filter "f.episode" --db TheMovieDB::TVShell: Select all
filebot -rename -r . --file-filter "none{ f.episode }" --db TheMovieDBShell: Select all
filebot -rename -r /input --file-filter "f.linkCount == 1" --action hardlink --db xattr --output /output --format "{plex.id}"