Mass Convert RAW Images into JPEGs

First, you’ll need to install ufraw-batch: sudo apt-get install ufraw-batch Now, you can easily and quickly dump your RAW images into JPEGs: find . -maxdepth 1 -type f -iname “*.cr2″ | while read file do ufraw-batch –wb=camera –exposure=auto \ –out-type=jpeg –compression=90 \ –output=”${file%.CR2}.JPG” \ “$file” done The above command will find all files ending in [...]

Converting WMA Music to MP3 with MPlayer and Lame

Another quick, hopefully painless tutorial. You can ask MPlayer to dump WMA files into WAV files, which you can then transcode into MP3 files: mplayer “myfile.wma” -vo null -vc dummy -af resample=441000 \ -ao pcm:waveheader \ -ao pcm:file=”out.wav” Alternatively, you can write it directly to lame‘s standard input to daisy-chain the operation: mplayer “myfile.wma” -vo [...]