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
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
_______________________________________________ Fedora-art-list mailing list Fedora-art-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-art-list