[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Echo Icons] help needed in cleaning SVG icons.



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 numériquement signée


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]