Skip to main content
Taruz
Participant
September 12, 2014
Question

Batch save old files in new documents with same name but with one addition.

  • September 12, 2014
  • 1 reply
  • 834 views

Hi, sorry for the confusing headline..

I'm trying to write a script and I'm really having a struggle.

Problem:

I want to batch save files as new documents, with the old name but with the addition "-fixed".

The key is that I need to make a fresh file, I can't just duplicate them. I've tried using actions but

I'm stuck when it comes to renaming the new document with the same name as the old one but with the addition.

This one is pretty close:

Re: How to copy filename and paste as text in Photoshop

But I can't seem to get the filename into the copy memory.

Any kind of help would so great.

Thanks!

This topic has been closed for replies.

1 reply

JJMack
Community Expert
Community Expert
September 12, 2014

With CS5 or newer you can download the Image Processor Pro automate plug-in script it can name the output files the way you want. Once installed into Photoshop you will fid it under menu File>Automate>Image Processor Pro...  Its dialog looks like this

JJMack
Taruz
TaruzAuthor
Participant
September 12, 2014

I know about this, the thing is this though:

I don't want to output a just a copy of the file but with a new name. I specificly needs the content of one file to be paste into another document and then save that as PSD but with the original name of the first document + "-fixed".

I'm working with PSDs that are locked to a spesific size by our client, the only way of reducing the file size is to make a new document and paste all the layers into that one. Otherwise I get 2GB pdfs even att 72DPI.


It's soooo anoing.

JJMack
Community Expert
Community Expert
September 12, 2014

Taruz wrote:

I know about this, the thing is this though:

I don't want to output a just a copy of the file but with a new name. I specificly needs the content of one file to be paste into another document and then save that as PSD but with the original name of the first document + "-fixed".

I don't understand your need  for pasted into and other document. Does the other document have  content or is in a new document are you pasting in each layer or just a composite image.  I don't understand why opening the psd files one at a time re-sizing them to fit within some size and saving  a psd with the filename-fixed.psd is different then what you want. Why the image processor pro dialog set like this does not do what you want.

JJMack