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

Re: how to convert 100 bmp files to jpeg?



Serena Cantor wrote:

I 100 bmp files. I installed gimp and imagemagik, but
can't find the way to convert 100 bmp files to jpeg in
batch fashion. Do you know the command? Thanks!
I can't be bothered to consult the man page, but it will be something like:

for $f in `ls *.bmp`; do convert $f --to-jpeg; done

See "man convert" for the precise arguments.

If the files are organized in directories, you may need to use 'find' instead of just 'ls'. See man find.



Reply to: