File indexing completed on 2024-04-28 05:43:02

0001 #!/bin/bash
0002 for i in $(ls *.svg)
0003 do
0004   for size in $(echo "16 22 32 48 64 128")
0005   do
0006     file=$(echo "../"$size"-mimetypes-"$(echo $i | awk -F . '{print $1}' )".png")
0007     echo "Exporting "$i" to "$file
0008     rm -f $file
0009     inkscape -w $size -h $size -e $file $i > /dev/null
0010   done;
0011 done;
0012