Page 1 of 1

Filter by extensions

Posted: 05 Nov 2015, 07:39
by mapomme1108
Hello

I use filebot in command line on a NAS to rename my films.

I want to know how to make FileBot takes into account only the files with certain extensions: avi, mkv, etc.

In advance thank you for your help.

Re: Filter by extensions

Posted: 05 Nov 2015, 08:18
by rednoah
FileBot, by default, does only process media files (video/subtitle/audio/etc). If you only want to process a certain type of file, then I recommend using find | xargs | filebot commands to select the files you want, and pass them on the filebot as arguments.

e.g.

Code: Select all

find /path/where/you/want/to/search/ -name "*.mp4" -print0 | xargs -0 filebot -rename ...

Re: Filter by extensions

Posted: 05 Nov 2015, 08:54
by mapomme1108
Ok, thank you, I will try this