Running FileBot from the console, Groovy scripting, shell scripts, etc
-
brijazz
- Posts: 34
- Joined: 25 May 2022, 20:53
Post
by brijazz »
How can I go about escaping the pipe character so that I can use it in my filename? I'd like to rename my files as such, with the pipe as a separator:
Shell: Select all
filebot -rename "$1" --db TheMovieDB -non-strict --format "{n} | {y}"
-
rednoah
- The Source
- Posts: 24030
- Joined: 16 Nov 2011, 08:59
- Location: Taipei
-
Contact:
Post
by rednoah »
-unixfs will disable file path validation. Please read
Target Unix Filesystem for details.

That said, I would strongly
discourage you from using
| ' " \  etc in a file path. IMHO, you're just asking for unexpected issues down the line.
-
brijazz
- Posts: 34
- Joined: 25 May 2022, 20:53
Post
by brijazz »
Thanks for the solution AND the warning. I'll stick with the humble hyphen as my separator!