Page 1 of 1
"Invalid Names": insert "-" instead of space?
Posted: 05 Aug 2015, 16:49
by Biff
Can one make FileBot to put e.g. a "-" in the file name instead of nothing, so e.g. instead of replacing the ":" with " " insert a "-":
http://i.imgur.com/70iyJFw.png
Re: "Invalid Names": insert "-" instead of space?
Posted: 05 Aug 2015, 20:29
by rednoah
You can replace ":" with "-" in your format.
Re: "Invalid Names": insert "-" instead of space?
Posted: 05 Aug 2015, 20:35
by Biff
Thank you, rednoah,
How could I do that?
Thanks again
Re: "Invalid Names": insert "-" instead of space?
Posted: 05 Aug 2015, 22:34
by rednoah
Re: "Invalid Names": insert "-" instead of space?
Posted: 06 Aug 2015, 08:42
by Biff
Thank you very much, rednoah,
I have added it: {n} ({y}){' CD'+pi}{'.'+lang}{n.replace(':', '-')}
Many thanks again.
Re: "Invalid Names": insert "-" instead of space?
Posted: 06 Aug 2015, 08:47
by rednoah
Code: Select all
{n.replace(':', '-')} ({y}){' CD'+pi}{'.'+lang}
Re: "Invalid Names": insert "-" instead of space?
Posted: 06 Aug 2015, 09:02
by Biff
Oops, wrong! Well, I do not have any idea of anything.
Thank you very much for the corrected code.
How could I remove the wrong code / lines:
http://i.imgur.com/2VgZhgw.png
DEL does not appear to work. Or right click.
Re: "Invalid Names": insert "-" instead of space?
Posted: 06 Aug 2015, 09:54
by rednoah
You can't. It'll always remember the last few formats.
Re: "Invalid Names": insert "-" instead of space?
Posted: 06 Aug 2015, 10:06
by Biff
Alright, thank you very much.