Bulk Resize of Images using Terminal in Mac

I recently tried to bulk resize several hundred large photos in OS X Preview. This repeatedly failed (spinning wheel of death).

In search of a method to resize these images, I found an easy way using Terminal.

  1. Open up your Terminal app (can open Spotlight and search terminal).
    1. cd into the desired image directory (e.g. if they are in your Pictures directory, you may: type “cd Pictures/”).
  2. Enter “sips -Z 1500 *.jpg” (with no “” marks).
  3. Press enter. It will output every .jpg file in the directory you are in into a max of 1500 width or height.

Notes:

  • Change the “1500” to the max resolution you want.
  • It keeps the aspect ratio (-Z is the command for keeping aspect ratio).
  • Keep a back up of the full resolution images!

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s