Batch Converting png To bmp

Lucia Sanchez lu at
Thu Apr 20 18:26:01 UTC 2006

Dotan Cohen wrote:
> What proggram can I use to batch convert a folder of png's to bmp's? I
> wasthinking image magic but I can't seem to figure out what to do with
> it.

for i in *bmp ; do convert $i ${i//.bmp/.png} ; rm *bmp ; done

That should work :)

 I will live forever or die trying.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 186 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the kubuntu-users mailing list