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

Re: bash/sed script help needed



Lance Hoffmeyer wrote:
> for a in *.eps;do t=`sed 's/*.eps/*.jpg/'`;convert $a $t;done

man basename

for a in *.eps; do convert $a `basename $a .eps`.jpg; done

untested but it should work

Rene


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: