Creating the photo section for this blog I had the need to resize many images at once. Sure enough, I didn’t want to do this by hand and also found it cumbersome to create a batch process in an image manipulation program like Affinity Photo or Photoshop.

After a quick web-search I stumbled upon the tool sips.

sips -Z 2000 *.jpg

This command resizes all jpg files in a folder to a maximum height or width of 2000, while keeping the aspect ratio.