Skip to content

Instantly share code, notes, and snippets.

@jsgarvin
Created November 23, 2016 01:15
Show Gist options
  • Save jsgarvin/a8676c659926e7c2479aa8661135990e to your computer and use it in GitHub Desktop.
Save jsgarvin/a8676c659926e7c2479aa8661135990e to your computer and use it in GitHub Desktop.
Get saturation value to pass to `dcraw -S` for multiple raw files.
$ for f in *CANON/*.CR2; do dcraw -D -4 -j -c "$f" | pamsumm -max; done | cut -f 7 -d ' ' | sort -n | tail -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment