Convert all images to one color command?

I know this is possible with imagemagic app command
I have a folder with 2100 .svg files I want to convert to RGBA: c0c0c0

any thoughts?

1 Like

A sed command should work, since .svg files are text based, not raster. You could use a tool for plotting .xml files, as well.
I'd have to look up the name of the tool...
In the meantime:

Ok, and tool: xsltproc

3 Likes

Making a script of

for x in $*
do
sed -e "s/#CURRENT COLOR/#WANTED COLOR/g" $x > temp$x
mv temp$x $x
done

Did the tricks.

1 Like