As Beteigeuze asked, here is my script I used for RAW processing (right now I convert the RAWs manually in f-spot with ufraw)

#!/bin/bash
# Converts all Raw-Files in a dir to jpeg with dcraw
# needs ExifTool available from www.sno.phy.queensu.ca/~phil/exiftool

set -e
ext=.CRW

for i in *$ext; do
# Get basename of file for easier treatment
bn=`basename $i $ext` ;
#
# Convert from RAW
#
# Check if a jpg already exists
if [ -f ${bn}.jpg ]; then
    echo "File $bn already converted"
else
    echo "Converting File $bn"

## Method 1: just use dcraw
    # converts directly to jpg without any treatment
    #   dcraw -a -c $i | ppmtojpeg > ${bn}.jpg;

## Method 2:
    # This should do some basic image treatment:
      # dcraw -a -4 $i ;
      # convert -normalize -gamma 1.8 ${bn}.ppm ${bn}_dcraw4_normalized.jpg ;
      # rm $bn.ppm;

## Method 3: 
    # Including an ICC profile, this gives the best results for my screen
      dcraw -4 -c -w -m $i | pnmnorm -bpercent 0.1 -wpercent 0.1 -brightmax \
        | pnmtotiff -truecolor >temp.tif;
     tifficc -w -i ~nils/eos10d-linear-8apr2004.icc temp.tif ${bn}.tif;
     convert -quality 90 ${bn}.tif ${bn}.jpg ;
      rm $bn.tif ;
      rm temp.tif;
#
# Copy and set EXIF stuff
#
    ~/Image-ExifTool-6.81/exiftool -TagsFromFile $i ${bn}.jpg;
    ~/Image-ExifTool-6.81/exiftool -Author="Nils Pickert" -OwnerName="Nils Pickert" -UserComment="(c) Nils Pickert" $bn.jpg;
    rm $bn.jpg_original;
#
# rotate according to EXIF
# this is only necessary for method 1 and 2, not for 3
    #  exiftran -i -a ${bn}_dcraw_only.jpg;
fi
done