Get name of parent folder of parent folder of file

Support for Windows users
User avatar
rednoah
The Source
Posts: 22995
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Get name of parent folder of parent folder of file

Post by rednoah »

The folder structure in your screenshot could be created by a format that starts with this:

Code: Select all

O:/{n}/...
:idea: Please read the FAQ and How to Request Help.
RBCC
Posts: 118
Joined: 17 May 2016, 02:23

Re: Get name of parent folder of parent folder of file

Post by RBCC »

Ok but filebot wont rename anything right now
User avatar
rednoah
The Source
Posts: 22995
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Get name of parent folder of parent folder of file

Post by rednoah »

... refers to the rest of the format. If you copy & paste this format literally then each file will be named ... which clearly makes no sense.


Format expressions are really not that hard to understand. It's just file paths and variables.


e.g. What do you think will happen if you use these formats? Play with it until you understand how it works:

Code: Select all

O:/{n}/Constant Name

Code: Select all

O:/{n}/{n} - Episode {sxe}
:idea: Please read the FAQ and How to Request Help.
RBCC
Posts: 118
Joined: 17 May 2016, 02:23

Re: Get name of parent folder of parent folder of file

Post by RBCC »

Ok but filebot wont rename anything right now
User avatar
rednoah
The Source
Posts: 22995
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Get name of parent folder of parent folder of file

Post by rednoah »

RBCC wrote:Ok but filebot wont rename anything right now
As specified by your format. FileBot will do exactly what you tell it too, even if that doesn't make much sense.
:idea: Please read the FAQ and How to Request Help.
Post Reply