Page 1 of 1

[DOCS] Target Unix Filesystem

Posted: 31 May 2021, 05:15
by rednoah

:?: How do I disable Windows File Path Validation?

Screenshot
:idea: 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]


:arrow: 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]


:arrow: 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