Tired of using Bridge for image resizing, use sips

Use the command line in terminal on your macbook pro in order to resize a directory full of images. This works beautifully:

sips -Z 1200 *.jpg

The command is sips

-Z : Resample image so height and width aren’t greater than specified size.

1200 : The width I want to resize to. In this case 1200 pixels wide.

*.jpg : All the images with the extension jpg in this directory.

Run this when you are in the directory you need to be in. Use cd in order to get to the folder. Example:

cd /Users/<your username>/Desktop/images

We use to use Adobe Bridge in order to resize images but in the latest version Adobe Bridge CC we ran into an error with the image processor. It states “Image Processor.jsx could not be found”. You don’t need to find it, just use the terminal.

The original article: http://lifehacker.com/5962420/batch-resize-images-quickly-in-the-os-x-terminal

The man page: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/sips.1.html


If you do not want it to upsize then use this command:

mdfind -0 -onlyin . "kMDItemPixelHeight > 1440 || kMDItemPixelWidth > 1440" | xargs -0 sips -Z 1440