How do I disable Windows File Path Validation?
The {plex.id} format will guarantee Windows-compatible file paths so the Invalid Characters dialog above will never come up if your custom format generates valid file paths in the first place:
Format: Select all
{ plex.id }
Format: Select all
{ n.removeIllegalCharacters() } { s00e00 } { t.removeIllegalCharacters() }
By default, filebot forces Windows-compatible file paths on all platforms, removing characters such as : colon or ? question mark automatically:
Console Output: Select all
$ filebot -rename *.mp4 --db TheTVDB -non-strict --format "{n} - {sxe} - {t}"
...
Stripping invalid characters from new path: 24 - 7x01 - Day 7: 8:00 A.M. - 9:00 A.M.
[MOVE] from [24.S07E01.mp4] to [24 - 7x01 - Day 7 800 A.M. - 900 A.M..mp4]
Set -unixfs to pass through the path generated by your custom format verbatim:
Console Output: Select all
$ filebot -rename *.mp4 --db TheTVDB -non-strict --format "{n} - {sxe} - {t}" -unixfs
...
[MOVE] from [24.S07E01.mp4] to [24 - 7x01 - Day 7: 8:00 A.M. - 9:00 A.M..mp4]
You can permanently disable Windows file path validation on Unix platforms for all filebot commands by writing a configuration file:
Shell: Select all
filebot -script fn:properties --def unixfs=true