Convert RAW files to JPEG in batch. Convert all files in a folder using a command. For this to work, first you must have ‘ufraw’ package installed. sudo apt-get install ufraw
or sudo yum install ufraw
depending on your OS.
find . -type f -name "*.CR2" -exec ufraw-batch --out-type=jpeg '{}' \;