flags/make_flags.sh

Sat, 05 Mar 2022 13:19:59 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sat, 05 Mar 2022 13:19:59 +0200
changeset 162
3ebe1a0ca818
parent 6
73e448b2943d
permissions
-rwxr-xr-x

only render svg to png if the png does not exist

#!/bin/bash
for flag in *.svg
do
	flag_png="${flag%.svg}.png"
	echo "$flag => $flag_png"
	inkscape -z -e ${flag_png} -w 64 $flag
done

mercurial