]> git.scottworley.com Git - picsort/blame - pics-run-ufraw
Don't re-download or re-rename-to-date seen files
[picsort] / pics-run-ufraw
CommitLineData
7e0b085a
SW
1#!/bin/bash
2
3GREEN=1.105
4TEMPERATURE=5500
5JPEGCOMPRESSION=95
6
7exposure=$1
8file=$2
9out=$3
10rotate=$4
11
12ufraw-batch --out-type=jpeg \
13 --green="$GREEN" \
14 --temperature="$TEMPERATURE" \
15 --compression="$JPEGCOMPRESSION" \
16 --exposure="$exposure" \
17 --output="$out" \
18 $( [[ "$rotate" ]] && echo --rotate="$rotate" ) \
19 "$file"