[Echo Icons] help needed in cleaning SVG icons.
Nicolas Mailhot
nicolas.mailhot at laposte.net
Thu Aug 23 21:13:00 UTC 2007
Le jeudi 23 août 2007 à 23:00 +0200, Martin Sourada a écrit :
> Can your script be run easily on all icons (I mean
> something like ./svg_cleanup /path/to/Echo/scalable/*/*.svg)?
My original message has a loop example :
mkdir /tmp/svgtest
for svg in $(find /usr/share/icons/Echo/scalable -name "*.svg" -type f) ; do xsltproc -o /tmp/svgtest/$svg svg-cleanup.xsl $svg ; done
This will generate a copy of the /usr/share/icons/Echo/scalable tree
in /tmp/svgtest with every icon scrubbed. As xslt is very much a single
file transformation language you need a wrapper (shell in this case) to
automate multiple file processing
--
Nicolas Mailhot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://listman.redhat.com/archives/fedora-art-list/attachments/20070823/af51181d/attachment.sig>
More information about the Fedora-art-list
mailing list