Including original file name in rename

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Sikerim
Posts: 2
Joined: 19 Apr 2015, 21:18

Including original file name in rename

Post by Sikerim »

Hi all,

I just downloaded FileBot and it seems awesome, however I am having trouble getting it to do what I thought would be simple; I want to use the original format of '{n} - {s00e00} - {t}' but also add the original file name at the end. While this will have some redundant info - I'd prefer it to use it this way initially - at least while I learn to configure more complex scripts like I see others have...

https://www.filebot.net/naming.html
shows
fn original filename

so i tried
{n} - {s00e00} - {t} - {fn}

I tried various combination of equals/colon/parentheses next to fn, but i couldn't get it to work. Any ideas? Thanks!
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Including original file name in rename

Post by rednoah »

That is correct. What is the problem?

:arrow: Please read • How to 'Request Help' • and update your post.
:idea: Please read the FAQ and How to Request Help.
Sikerim
Posts: 2
Joined: 19 Apr 2015, 21:18

Re: Including original file name in rename

Post by Sikerim »

Sorry, I was mainly going by the sample context reading on top with the Firefly episode - because it didn't update and left it as {fn} I assumed it wouldn't work.

I tried it just now with actual files, and it worked as expected, thanks!
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Including original file name in rename

Post by rednoah »

{fn} requires file information, and the sample context doesn't have file information until you set a sample file. ;)
:idea: Please read the FAQ and How to Request Help.
Post Reply