[Clipart] Tasks for 'openclipart' package
Jonadab the Unsightly One
jonadab at bright.net
Mon Jun 28 03:55:05 PDT 2004
Nicu Buculei <nicu at apsro.com> writes:
> for i in *.svg; do inkscape -f "$i" -e "$i.png" -w 80; done
I think that comes out to something roughly like this:
for %%F in ( *.SVG ) do inkscape -f %F -e %F.png -w 80
(I used to combine FOR with FIND all the time as a poor man's grep.)
The above will probably not work if the filename or path contains
spaces, so, umm, avoid spaces. See also the info provided by the HELP
command regarding batch-special commands. Depending on your Windows
version, you may have to install the "old DOS stuff" from the Windows
CD or download it from Microsoft in order to have the HELP command.
Also you'll have to make sure inkscape is in your PATH.
Another option is to get Cygwin and just run the bash script, but it
would probably be useful to have a BAT equivalent for other users too.
--
$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}}
split//,"ten.thgirb\@badanoj$/ --";$\=$ ;-> ();print$/
More information about the clipart
mailing list