Page 1 of 1

[DOCS] Target Unix Filesystem

Posted: 31 May 2021, 05:15
by rednoah
By default, filebot forces Windows-compatible file paths on all platforms, removing characters such as : colon or ? question mark automatically:

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

Code: 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 creating a configuration file:

Code: Select all

filebot -script fn:properties --def unixfs=true

:idea: -unixfs disables file path validation in both CLI and GUI:
Image