svg-to-png.sh@35bbfad4d0f4
svg-to-png.sh
Tue, 15 Mar 2022 18:56:02 +0200
- author
- Teemu Piippo <teemu@hecknology.net>
- date
- Tue, 15 Mar 2022 18:56:02 +0200
- changeset 184
- 35bbfad4d0f4
- parent 162
-
3ebe1a0ca818
- permissions
- -rwxr-xr-x
Add missing svg icon
#!/bin/bash
mkdir --parents icons
for svgfile in $(find icons_svg -name '*.svg')
do
pngfile="icons/$(basename ${svgfile%.svg}.png)"
if [[ ! -f "${pngfile}" ]]
then
echo "$svgfile => $pngfile"
convert -background none "${svgfile}" "${pngfile}"
fi
done