How to Add Prefix and Suffix to File Name When Batch Processing Files in Photoshop
One of interesting questions on Photoshop forum that I came across is: how to add suffix to the file name when batch processing using actions. I will explain you in this tutorial how to add a prefix or suffix to the original file name when batch processing images using the Image Processor Pro. Reason is because when working with Image Processor Pro things are very flexible and easy to explain and understand. If you are not familiar with Image Processor Pro I will suggest you to download and install it because it is extremely useful and you have many options including to run action or to save processed images in several different formats. On top of all you can check the Save for Web option to optimize images for your blog or site.
How to add a suffix to the file name in Image Processor ProIf you want detailed explanation and instructions for all available options in the Image Processor Pro please visit Russel Brown Script page and watch video.
We will concentrate on suffix first. As we are talking about batch processing I must mention that you can choose action to play on selected images or folder: check Run Action then choose do you want to run action Before or After Image Resize and lastly specify action set + action from Action: drop-down lists.
At the bottom of Image Processor Pro you will see File Naming section. To add suffix to existing file name do the following:
- From the first drop-down list choose Document Name (or document name).
- From the second drop-down list choose Create Custom Text and type suffix (processed, bw, vintage...). To separate document name and suffix you can type underscore in front of suffix: _vintage or _processed, _resized and so on.
- From the third drop down list, choose: extension (or EXTENSION). It is the same thing basically and you are choosing to use lower-case or upper-case extension at the end of the file name.
Take a look just below File Naming and you will see how saved files will be named.
How to add prefix to the file name in Image Processor ProAs you can guess, the trick is to swap document name and suffix position (as explained above).
Here are the steps:
- From the first drop-down list choose: Create Custom Text and type prefix. To separate prefix and file name use underscore: suffix_, winter_, summer_ and so on and so on.
- From the second drop-down list choose: Document Name (or document name).
- From the third drop-down list choose: extension (or EXTENSION).