[DOCS] Target Unix Filesystem

How-to guides, frequently asked questions, not-so-obvious features, etc
Post Reply
User avatar
rednoah
The Source
Posts: 21738
Joined: 16 Nov 2011, 08:59

[DOCS] Target Unix Filesystem

Post 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
:idea: Please read the FAQ and How to Request Help.
Post Reply