[Rawstudio-users] Transferring EXIF to exported JPEG images

Jeff jeff at ourexchange.net
Mon Apr 14 20:09:16 CEST 2008


Has anyone been working on automating transfer of EXIF data to the
exported JPEG images coming out of rawstudio?

My current photo processing workflow is:
1) Take pictures
2) Drop all raw files onto machine in datestamped directory
3) Run rawstudio and open new directory
4) Process all photos
5) Run exif-to-exports script (seen below)

I'd love to cut out #5.

Here's that export script, run from the folder containing the CR2 raw images:

#!/bin/bash

if [ ! -d ./exports ]; then
        echo "Must be run with an existing exports directory!"
        exit 1
fi

for i in exports/*.jpg; do
        j=$(basename "$i" | sed -e 's/_01\.jpg/.CR2/g;' | sed -e
's/_01\.\.jpg//g;')
        echo "$j -> $i"
        exiftool -tagsfromfile $j $i
        rm ${i}_original -vf
done

Thanks,
Jeff



More information about the Rawstudio-users mailing list