Bulk process files, and add or subtract only part of the name, leaving the rest as is.

  • 1
  • Question
  • Updated 5 years ago
I would like to know how I can bulk process files, and add and or subtract part, but not all of the name. Ie fzip eliminate, and sh-full add in.

It is maddening to change all my high res files into small web size jpgs, quickly, and then have to manually, take out "full" and replace it with "web-srgb" on each file. in order to differentiate it.

cbates@carolynbates.com
Photo of carolyn bates

carolyn bates

  • 3 Posts
  • 0 Reply Likes
  • frustrated

Posted 5 years ago

  • 1
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 765 Reply Likes
Which product are you using?
Which version?

In Photoshop - look up the File->Automate->Batch command.
Photo of carolyn bates

carolyn bates

  • 3 Posts
  • 0 Reply Likes
Photoshop CS5. I just downloaded CS6
Yes, in batch, you can change all of the words, but you cannot delete some words and add others, and keep the rest of the file name.

Ie file is bates-12af-4560a-sh-fzip
and I want to delete fzip
and replace it with full.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 765 Reply Likes
Ok, something that detailed would need scripting via JavaScript.
Photo of carolyn bates

carolyn bates

  • 3 Posts
  • 0 Reply Likes
OK How do I do this? It would be helpful if PS would add this in for their next version. Is that possible? As it is very time consuming to rewrite each title.
Photo of Paul Riggott

Paul Riggott

  • 346 Posts
  • 131 Reply Likes
You could bulk rename in Bridge using regular expessions.
Yes it's possible using javaScript but there is a steep learning curve. Documentation is supplied in the application scripting folder or in the help of ExtendScript Toolkit (IDE). This get installed with Photoshop.