Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Batch resize across multiple folders

New Here ,
Sep 16, 2019 Sep 16, 2019

I need to batch resize 145GB of photos, about 138K photos in total. The photos are spread across 20,147 folders, with each folder holding 1 – 20 photos. Each folder has a unique name but the photos in the folder use the file name generated by the cameras so there could be a great deal of duplicate file names between folders. What I’d like to do is a batch resize on these photos where by the original photos are replaced by the resized photo while maintaining the existing file structure. In other words photos stay in their current folder. Is there a way to do this on all 20k folders at once, or even a large subset of folders, or do I need to do each folder individually. I’m a bit constrained on the software I can use (enterprise environment) I have the latest version of Photoshop.

TOPICS
Actions and scripting
3.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Sep 16, 2019 Sep 16, 2019

Record an action to resize one of the photos.

Then use File>Scripts>Image Processor.

Choose the folder and check "include subfolders"

Then check and select your action on step 4.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 16, 2019 Sep 16, 2019

You can save alot of time if you organize all the folders into one outer folder then make sure subfolders is checked in image processer.

 

 

Screen Shot 2019-09-16 at 1.10.45 PM.pngexpand image

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 29, 2021 Jul 29, 2021

I have the same issue. 

I have JPGs generated for shoots for a newspaper client. I would like to keep the folder structure to keep a chronological record. 

 

I have the RAW original files in my LR catalog, i just want to resize the final JPGs. 

The batch automated process does not seem to overwrite the original files, but add a resized file in each folder, which actually increases space. 

 

I have 600 subfolders and I don't want to do it manually one by one.

 

I used to be able to do this so easily with iView Media Pro, but now I can't find a way on the mac to resize and replace multiple files at once in a folder and subfolders. 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 16, 2019 Sep 16, 2019

As resizing is not something that can be "undone", do you have a backup of the images? I appreciate that you wish to overwrite the originals as you most likely have limitations on drive space. Will you be working locally or over a network?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 29, 2021 Jul 29, 2021
LATEST

The Image Processor and Image processor Pro scripts can resize all your image files however they will not overwrite files they will  save new resized image files. In the end you would have 278K Photo Image Files.  You do not want to process 276,000 files with a Photoshop script.  Photoshop would need to decode 138,000 image file. Resize 138,000 document and Encode 138,000 Image Files. I would think that process may run for days.  If there are no Photoshop issues. If there are any issues in Photoshop Your machine may run out of resources. You will be creating 138,000 new files

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines