[Clipart] Openclipart.org and flags

Jonadab the Unsightly One jonadab at bright.net
Wed Sep 29 07:44:42 PDT 2004


Nicu Buculei <nicu at apsro.com> writes:

> country name is in the file name.

If the country name is the filename, then it is easy to add it as a
keyword also.  I believe the following commandline will do it, if the
flags (and no other .svg files) are all in the current directory and
my keyword script (in CVS as clipart_web/keyword) is in the path:

perl -e 'for(<*.svg>){/(.*)[.]svg/;`keywords $_ --keywords=$1`;}'

-- 
$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}}
split//,"ten.thgirb\@badanoj$/ --";$\=$ ;-> ();print$/




More information about the clipart mailing list