From: Scott Worley Date: Sun, 2 Mar 2014 07:44:05 +0000 (-0800) Subject: Copy the NEF's timestamp to the final .jpeg X-Git-Url: http://git.scottworley.com/picsort/commitdiff_plain/5167ae018f03fc46747c28bb2662805d59bf62bc?hp=7e0b085a9d4119886d17e66f57008e32d071cd5a Copy the NEF's timestamp to the final .jpeg --- diff --git a/pic-mv b/pic-mv index e1e18ac..195b959 100755 --- a/pic-mv +++ b/pic-mv @@ -34,6 +34,7 @@ if [[ "$file" == *.NEF ]];then else mv -vi "$exposure/$base.jpeg" "$out" fi + touch -r "$file" "$out" mv -vi "$file" "$destdir/$name $number.NEF" else if [[ "$rotate" ]];then