This entry is part 18 of 19 in the Bash-whacking series
span class="st0">'s/svg$/png/'

to rasterize the svg at 300dpi, shrinking dimensions by 50%:

  • http://khaal.myopenid.com/ KhaaL

    Great and easy guide, thanks!!

  • WillF

    A marginally neater solution: for i in *.svg; do rsvg-convert -z 0.5 -d 300 -p 300 -a $i -o ${i/svg$/png}; done