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



Stephen, jep,

Thank you for responding.

I must be missing a beat here. I put "echo" in front of the command in
the script, to do a run without changing anything, as jep recommended:

#!/bin/sh
echo uniconvertor "$1" "${1%.ai}.svg"

(note that the words "input" and "output" aren't needed by uniconvertor,
it just assumes the first filename given is input, and the second file
name given is what you want to save as.)

I put the "doit" script in by /home/dave/bin directory, which is in my
PATH, just so it's easy to access from anywhere.

Then I ran the recommended find command in my home directory:

find . -maxdepth 1 -name _\* -print0 | xargs -0 doit

And it did nothing. It echoed out only one instance of running
uniconverter, but without any input because in my home directory itself,
there are no AI files. They are all in subdirectories.

Did I miss something to make the find command actually go into
subdirectories?


-- 
Dave M G
http://tlug.jp/mediawiki/index.php?title=User:Dave_M_G


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links