Resize images using the command line in bash/zsh

sips zsh bash

Another command line script for sharing purpose. It’s a simple script that loops through the current directory and asks you for the new filenames, maximum width and height. I’ve used the OSX built in sips tool but you can rewrite that easily to Imagemagick if you prefer more options or a script that works on Linux as well. The original script is available through my Gist:

Happy resizing! And to give some credits to Sips, it’s blazingly fast.

Next stop will probably be a multi-tenant post on Spring Boot.

10 Sep 2016