bash/sed script help needed
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
--
Lance Hoffmeyer
lance@augustmail.com
-------------------------------------------------------------------------------
It gives me great pleasure indeed to see the stubbornness of an incorrigible
nonconformist warmly acclaimed.
-
Albert Einstein
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: