RAW to Jpeg image conversion script for Nautilus Actions Configuration
This script is dependent to UFRaw. Install UFRaw in order to convert. xterm is used to run the UFRaw simply because to show the progress of the conversion. Nautilus-actions parameters: %d "%M" #!/bin/bash export FILE_PATH=$1 export FILE=$2 #Create directory if [ ! -d $FILE_PATH/Converted_JPEGs ]; then mkdir $FILE_PATH/Converted_JPEGs; fi; #Convert RAW image file to Jpeg xterm -e "ufraw-batch \ --wb=camera \ --exposure=auto \ --out-type=jpeg \ --compression=96 \ --overwrite \ --out-path=$FILE_PATH/Converted_JPEGs \ $FILE"