Type 1 Companion Files
If companion files are derived-by-name and thus linked-by-name to the corresponding primary media file, then FileBot will automatically match them to the the same Movie or Episode object and process all of them as a group:Console Output: Select all
Avatar.mp4
Avatar.nfo
Avatar-info.xml
Avatar-poster.jpg
Avatar-description.txt
e.g. using {ny} as custom format:
Format: Select all
{ ny }
Console Output: Select all
Avatar.mp4
Avatar.xml
Avatar.jpg
Avatar.txt
![Idea :idea:](./images/smilies/icon_idea.gif)
e.g. using a custom format that matches trailing patterns such as -poster from the current file name:
Format: Select all
{ ny }{ '.' + fn.match(/-([a-z]+)$/) }
Console Output: Select all
Avatar.mp4
Avatar.info.xml
Avatar.poster.jpg
Avatar.description.txt
![Screenshot](https://i.imgur.com/7Wd66dv.png)
Type 2 Companion Files
Alternatively, you can also use the Import companion files post-processing feature to simply copy along any files or folders that were left behind in the original folder:![Screenshot](https://i.imgur.com/THB9S9m.png)
rednoah wrote: ↑14 Sep 2019, 20:35 Copy companion files (e.g. trailers, subtitles, artwork, etc) along from the original folder to the new location:Shell: Select all
--apply import
![Idea :idea:](./images/smilies/icon_idea.gif)
Format: Select all
{ mediaFile.dir }/{ mediaFile.nameWithoutExtension }-{ fn }
![Idea :idea:](./images/smilies/icon_idea.gif)