11 lines
278 B
Bash
11 lines
278 B
Bash
|
src=$1
|
||
|
dest=$2
|
||
|
|
||
|
img=`find $src -iname "*.svg"`
|
||
|
|
||
|
for i in $img; do
|
||
|
echo $i to $dest`basename ${i%.svg}.png`;
|
||
|
#convert -negate $i -transparent white -resize 75 $dest`basename ${i%.svg}.png`;
|
||
|
convert $i -transparent white -resize 75 $dest`basename ${i%.svg}.png`;
|
||
|
done
|