Name files inside a folder with the same name as the folder.

Bulk Rename Utility How-To's

Name files inside a folder with the same name as the folder.

Postby james4049 » Sat Feb 22, 2025 8:55 pm

Wondering if someone could help me please?

I want to name a file inside a folder with the same name as the folder and im unsure how to do this? I have multiple files and folders i want to do this with as a bulk load.

For example:

Folder 1
Image 1 (So id like to change this to the name Folder 1)

Folder 2
Image 2 (So id like to change this to the name Folder 2)

etc
james4049
 
Posts: 4
Joined: Sat Feb 22, 2025 8:46 pm

Re: Name files inside a folder with the same name as the folder.

Postby Admin » Sun Feb 23, 2025 12:33 am

You can use Append Folder Name (9) with Name (2) set to Remove.
Select all the files you want to rename in this way, you can recurse subfolders with Filters (12) -> Subfolders.
Admin
Site Admin
 
Posts: 2821
Joined: Tue Mar 08, 2005 8:39 pm

Re: Name files inside a folder with the same name as the folder.

Postby james4049 » Sun Feb 23, 2025 1:26 pm

Thank you that worked and done exactly what i wanted with the name, however it's removing the .jpg
So how would i also keep the .jpg
james4049
 
Posts: 4
Joined: Sat Feb 22, 2025 8:46 pm

Re: Name files inside a folder with the same name as the folder.

Postby TheGhost78 » Sun Feb 23, 2025 1:41 pm

Is Extension (11) set to 'Same'?
TheGhost78
 
Posts: 153
Joined: Fri Jul 19, 2024 11:25 am

Re: Name files inside a folder with the same name as the folder.

Postby james4049 » Sun Feb 23, 2025 3:43 pm

Thank you, yes Extension it's set to "same"
james4049
 
Posts: 4
Joined: Sat Feb 22, 2025 8:46 pm

Re: Name files inside a folder with the same name as the folder.

Postby TheGhost78 » Sun Feb 23, 2025 4:16 pm

Try clicking Reset and then following Admin's instructions.
TheGhost78
 
Posts: 153
Joined: Fri Jul 19, 2024 11:25 am

Re: Name files inside a folder with the same name as the folder.

Postby james4049 » Sun Feb 23, 2025 5:09 pm

I pressed reset and followed the instructions, sadly it's still not working and removing the file type and in properties for said file it shows file type as "file"
james4049
 
Posts: 4
Joined: Sat Feb 22, 2025 8:46 pm

Re: Name files inside a folder with the same name as the folder.

Postby TheGhost78 » Sun Feb 23, 2025 5:39 pm

If you need to add it back in, type jpg in Extension (11).
TheGhost78
 
Posts: 153
Joined: Fri Jul 19, 2024 11:25 am

Re: Name files inside a folder with the same name as the folder.

Postby Admin » Sun Feb 23, 2025 10:52 pm

Check the option menu -> "Renaming Options -> File/Folder Extensions > Rename File Extensions as Being Part of the File Name".
It's probably enabled, and you would need to disable it to keep the extensions.
Admin
Site Admin
 
Posts: 2821
Joined: Tue Mar 08, 2005 8:39 pm


Return to How-To