[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Neil Stone wrote: > I've written a script in bash to convert .eps files to .pdf (yay) > > However I want to be able to invoke this via cron.. but only if a (or > many) file(s) excist in a given directory... and if not, just quit... > > How would people go about this ? (and please no mention of perl or other > programming languages) > > All thoughts on this apprectiated... > > Neil cd $DIRECTORY for I in *.eps; do #what you want to do to each file #for example print its name echo "$I"; done; Gem -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html