rename files to parent folder name

Support for Windows users
Post Reply
justinsdrown
Posts: 3
Joined: 20 Mar 2024, 21:41

rename files to parent folder name

Post by justinsdrown »

Hi there. I need to do this for old wrestling tapes. I use the "Other" category for certain wrestling territories.

The thing is that I downloaded an entire territory where each episode has the correct name on the parent folder. But the file itself is gobbledygook. There are about five years worth of episodes named like this. So any help is appreciated.
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: rename files to parent folder name

Post by rednoah »

Use Plain File Mode and use {folder.name} as format:

Format: Select all

{ folder.name }

Same as Presets › Example 8: File to Folder but with a different format.
:idea: Please read the FAQ and How to Request Help.
justinsdrown
Posts: 3
Joined: 20 Mar 2024, 21:41

Re: rename files to parent folder name

Post by justinsdrown »

rednoah wrote: 21 Mar 2024, 04:05 Use Plain File Mode and use {folder.name} as format:

Format: Select all

{ folder.name }

Same as Presets › Example 8: File to Folder but with a different format.
Okay, and for the future, is there a way to name them after a second outer folder? I'm just trying to cover my bases for the future.
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: rename files to parent folder name

Post by rednoah »

e.g.

Format: Select all

{ f[-3] }
or

Format: Select all

{ folder.dir.name }
:arrow: You can copy & paste from the Plain File Mode › Organize files based on information present in the file path example for these kinds of things.
:idea: Please read the FAQ and How to Request Help.
justinsdrown
Posts: 3
Joined: 20 Mar 2024, 21:41

Re: rename files to parent folder name

Post by justinsdrown »

rednoah wrote: 21 Mar 2024, 04:36 e.g.

Format: Select all

{ f[-3] }
or

Format: Select all

{ folder.dir.name }
:arrow: You can copy & paste from the Plain File Mode › Organize files based on information present in the file path example for these kinds of things.
Just tested and it works great. Thanks for the simple, straight-forward help.
Post Reply