Monday, July 20, 2009

Converting a bunch o BMPs to JPGs

Another ungly hack ;-)

Just type on your linux console:

ls -1 *.bmp | cut -d "." -f 1 | while read line ; do convert $line.bmp $line.jpg ; done

And voilá!

No comments:

Post a Comment