Skip to content

Instantly share code, notes, and snippets.

@mark-ingenosity
mark-ingenosity / svg2icns.sh
Last active March 31, 2026 12:15
[BASH: Image Conversion: SVG to Mac ICNS] #convert #image #file_type #bash #script #icon
#!/bin/bash
# iterate over the svg files fed into on the command line
for svgfile in "$@"
do
name=${f%.*}
ext=${f##*.}
echo "Processing $name ..."
set -e