2015-12-23
 | 

Bulk Resize of Images using Terminal in Mac

Read in 
2015

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).
  2. cd into the desired image directory (e.g. if they are in your Pictures directory, you may: type "cd Pictures/").
  3. Enter "sips -Z 1500 *.jpg" (with no "" marks).
  4. 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!