Can't figure this out... Absolute Format Expressions

Support for Windows users
Post Reply
jeffshead
Posts: 5
Joined: 27 Aug 2016, 16:50

Can't figure this out... Absolute Format Expressions

Post by jeffshead »

I have been all over the forum but I still haven't been able to figure out how to make FileBot automate my process.

Here's how I currently use FileBot:
I have a single movie or multiple movies saved in a holding folder (Y:\Shares\Media). These movies need to be renamed. The basic settings of FileBot work just fine to rename the movies. I like to open the FileBot GUI and select the files I want renamed. This way I can make sure they are correctly named. After FileBot is used to rename the movies, I then create a folder for each movie (same exact name as the movie) and move each movie into their correct folders. Next, I manually move the new folders to: Y:\Shares\Media\Movies.

Below is what I would like to automate with FileBot:
I want FileBot to rename ONLY the movies I select in the GUI, create a folder for each movie with the same name, move each movie into the newly created folder. That's it! I'll manually move the newly created movies/folders to their final destination.

So basically, I want to add two additional steps to the "out of box" rename functionality.
  1. 1. Create new folders for each movie in the same parent directory.
    2. Move each movie into the correct folder.
I don't want to specify absolute paths because I may run FileBot on different folders.

So how do I do this :mrgreen:
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Can't figure this out...

Post by rednoah »

You can move/rename/organize everything in one go by specifying the absolute destination path you want in the format.

e.g. Move to Y:/Shares/Media/Movies/Avatar (2009)/Avatar (2009).mkv

Code: Select all

Y:/Shares/Media/{plex}
e.g. Move to <SAME DRIVE>:/Shares/Media/Movies/Avatar (2009)/Avatar (2009).mkv

Code: Select all

{f.path[0]}:/Shares/Media/{plex}

If you specify a relative path then FileBot will try to figure out the appropriate root folder and reorganize files accordingly.

e.g. Move to Avatar (2009)/Avatar (2009).mkv

Code: Select all

{plex.tail}
e.g. Move to X:/path/to/current/folder/Avatar (2009)/Avatar (2009).mkv

Code: Select all

{folder}/{plex.tail}
Best to open the Format Editor, set a sample file, and play with it for a bit:
Image


@see http://www.filebot.net/naming.html
@see viewtopic.php?f=5&t=2
@see viewtopic.php?f=5&t=4116
:idea: Please read the FAQ and How to Request Help.
jeffshead
Posts: 5
Joined: 27 Aug 2016, 16:50

Re: Can't figure this out... Absolute Format Expressions

Post by jeffshead »

Cool...

I replaced the default:

Code: Select all

{n.colon(' - ')} ({y}){' CD'+pi}{subt}
With:

Code: Select all

{folder}/{plex.tail}
It works!

Thanks so much for taking the time to help me :)
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Can't figure this out... Absolute Format Expressions

Post by rednoah »

The logic where you decide where to move movie folders after processing them with Filebot is probably something that can be expressed in the format expression as well.

Things like "move to the drive with the most free disk space" or "move to different drives based on initial letter" can be copied from the examples:
viewtopic.php?f=5&t=2
:idea: Please read the FAQ and How to Request Help.
Post Reply