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

Re: bash/sed script help needed





Lance Hoffmeyer wrote:
I have ten files in a directory I am trying to convert from *.eps to *.jpg.

file1.eps
file2.eps
file3.eps


for a in *.eps;do t=`sed 's/*.eps/*.jpg/'`;convert $a $t;done

But this doesn't rename the file to file1.jpg

Why?

Lance


apt-get install mmv
mmv "*.eps" "#1.jpg"


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



Reply to: