Double spaces

All about user-defined episode / movie / file name format expressions
Post Reply
zyberwoof
Posts: 2
Joined: 05 Sep 2014, 00:36

Double spaces

Post by zyberwoof »

My standard way of naming TV episodes is "NAME EPISODE TITLE" where there are two white-spaces in between NAME and Episode, and between EPISODE and TITLE. I've got my renaming pattern the way I want it, minus the double spaces. Like HTML, Filebot seems to look at any number of white-spaces greater than 1 as just 1.

I used to use the GUI, and I was able to do it. I have switched to the CLI, and cannot find out how to do this.

Can someone let me know what I'm missing?
User avatar
rednoah
The Source
Posts: 23006
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Double spaces

Post by rednoah »

FileBot will normalize any whitespace sequence to a single blank, leading and trailing whitespace will be removed. That's applied after the format so you can't get around that.

Then again, using two blanks is probably not a good idea anyway. :P
:idea: Please read the FAQ and How to Request Help.
zyberwoof
Posts: 2
Joined: 05 Sep 2014, 00:36

Re: Double spaces

Post by zyberwoof »

Fair enough. Since I had planned on putting my commands into a bash script anyways (that way I always rename files the same way), I just added a few steps and used sed to add the spaces in. What can I say, I like to live dangerously.

Thanks for the response!
Post Reply