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

Re: bash/sed script help needed





Travis Crump wrote:


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"



Ignore me, I am an idiot. I just figured out that convert does more than just rename the file...


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



Reply to: