Page 1 of 1

Double spaces

Posted: 05 Sep 2014, 12:42
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?

Re: Double spaces

Posted: 05 Sep 2014, 15:35
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

Re: Double spaces

Posted: 05 Sep 2014, 16:35
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!