png to icns (Emacs DWIM style)

from blog lmno.lol @alvaro, | ↗ original
UPDATE: dwim-shell-command is now available on melpa. Since writing a DWIM version of the shell-command, I've been having a little fun revisiting command line utilities I sometimes invoke from my beloved editor. In this instance, converting a png file to an icns icon. What's more interesting about this case is that it's not just a one-liner, but...