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,

Thanks for responding.

What I want to do is basically crawl my whole home directory
(/home/dave) looking for .ai files and convert them to .svg files. Will
the script you offered go down into subdirectories?

And have I incorporated the find syntax correctly? I put single quotes
around what I'm searching for, and back-ticks around the whole find command.

#!/bin/bash
for i in `find -name '*.ai'`; do
    uniconverter input ${i} output ${i%.ai}.svg
done

-- 
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