Skip to main content
Participant
September 9, 2020
Question

Batch rename in Photoshop, NOT Bridge?

  • September 9, 2020
  • 2 replies
  • 9182 views

I'm trying to add a batch rename function to my Automate process in Photoshop.  I'm trying to name a bunch of files by it's folder name with a sequential number.  All I can see is that you can name a file by it's document name, but not it's folder name.  There is batch rename function in Bridge, but Bridge doesn't have Automate.

 

Is there a script so I can Automate/Rename everything by it's folder name using Photoshop?

This topic has been closed for replies.

2 replies

JJMack
Community Expert
Community Expert
September 9, 2020

You would most likely want the retain the file extension just change the file name.  Rename or move is a standard file system operation and I'm sure there are many renaming script available on the web and  also in many applications have file renaming features why reinvent the wheel when there are so many around.

Batch File Rename Script 

JJMack
Stephen Marsh
Community Expert
Community Expert
September 9, 2020

Adobe Bridge's Batch Rename option does have an option to use the Folder name.

 

 

Otherwise, a Bridge script could write the folder name to an unused metadata field (Creator, Headline or Title) and then the Batch Rename could use the metadata and sequence number.

GriffMAuthor
Participant
October 11, 2020

Thanks but this doesn't answer my question.  Is there a way to use Automate in Photoshop to do the same thing?  Or use Automate in Photoshop so it uses this rename function in Bridge?  I just want to hit Automate and it goes through all the files and renames everything by it's folder name, and not have to dive into every folder in bridge just to rename.

Stephen Marsh
Community Expert
Community Expert
October 11, 2020

My previous reply focused on Bridge and avoided Photoshop as this is an out-of-the-box feature of Bridge. Photoshop does not offer this by default without custom scripting.


Bridge can show all files from all sub folders, which helps with selecting all required files for batch renaming in a single pass.

 

Otherwise a custom Photoshop script would be required. Easiest would be to dupe/rename/close original, which would be incorporated into an action that was then used by the automate/batch command.

 

The other option would be to script the batch saving and renaming etc in the custom script without using batch automate, which is much more work.