Mailing List Archive


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

Re: [tlug] Batch conversion of a bunch of Illustrator files to SVG files



On 2009-08-06 23:33 +0900 (Thu), Dave M G wrote:

> $ cat > doit <<__EOF__
> uniconverter input "$1" output "${1%.ai}.svg"
> __EOF__
> $ find . -maxdepth 1 -name _\* -print0 | xargs -0 doit
> 
> 
> This creates a batch named "doit", and then in the second command I
> execute the "doit" batch on the files found by the "find" command?

Yep. Except for one error on my part: use "xargs -0 -n 1 doit" in order
to have xargs call doit over and over again, with one argument each time.

cjs
-- 
Curt Sampson       <cjs@example.com>        +81 90 7737 2974
           Functional programming in all senses of the word:
                   http://www.starling-software.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links