This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# I made this script to convert SVG icons for an iOS app into PNG. | |
# The script will create icons in 3 sizes for different screen DPIs. | |
find "$(cd ..; pwd)" . -type f -name "*.svg" | while read f | |
do | |
FILENAME="${f%.*}" | |
echo '---' | |
inkscape -W "$FILENAME.svg" |