Reply to all.. sorry, forgot..<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Risto H. Kurppa</b> <span dir="ltr"><<a href="mailto:risto@kurppa.fi">risto@kurppa.fi</a>></span><br>

Date: Sat, May 28, 2011 at 6:12 PM<br>Subject: Re: [KPhotoAlbum] Selecting/tagging images by resolution<br>To: Murray Strome <<a href="mailto:wmstrome@yahoo.com">wmstrome@yahoo.com</a>><br><br><br><br><br><div class="gmail_quote">

<div><div></div><div class="h5">On Sat, May 28, 2011 at 6:08 PM, Murray Strome <span dir="ltr"><<a href="mailto:wmstrome@yahoo.com" target="_blank">wmstrome@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit"><br><br>--- On <b>Fri, 5/27/11, Risto H. Kurppa <i><<a href="mailto:risto@kurppa.fi" target="_blank">risto@kurppa.fi</a>></i></b> wrote:<br>


<blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px"><br>From: Risto H. Kurppa <<a href="mailto:risto@kurppa.fi" target="_blank">risto@kurppa.fi</a>><br>Subject: Re: [KPhotoAlbum] Selecting/tagging images by resolution<br>


To: "Joe" <<a href="mailto:josephj@main.nc.us" target="_blank">josephj@main.nc.us</a>><br>Cc: "Jesper K. Pedersen" <<a href="mailto:blackie@kdab.com" target="_blank">blackie@kdab.com</a>>, "<a href="mailto:kphotoalbum@kdab.com" target="_blank">kphotoalbum@kdab.com</a>" <<a href="mailto:kphotoalbum@kdab.com" target="_blank">kphotoalbum@kdab.com</a>><br>


Received: Friday, May 27, 2011, 11:06 PM<div><div></div><div><br><br><div>> Thanks for the quick reply. If anyone else wants it, it would be a great<br>> addition to kpa. I don't have the particular coding skills to add it myself.<br>


><br>> I'll consider your second alternative. I write a lot of bash scripts and<br>> that doesn't sound too hard.<br>><br>> I do have some concerns about moving
 the physical files around so that the<br>> whole collection wouldn't be in rough date order when I access them directly<br>> without a photo manager application. But that might not be a problem because<br>> the low res photos should be in contiguous batches by date anyway. I'll see.<br>


<br>Doesn't exif search in KPA know how to do this?<br><br>If not, what'd happen if you use bash & exiftool to symlink all large<br>images to a single folder, then open that folder with KPA, tag them as<br>'large', then save and remove symlinks?<br>


<br>And as far as I know, KPA sorts the files based on EXIF date, not file date<br><br>r<br><br></div></div></div></blockquote><div>I have some photos which have the correct EXIF dates, but the file dates are incorrect. The EXIF dates are 2008 and the file date is 2005. The photos appear amidst the 2005 photos. I tried jhead -ft (which is supposed to change the file date to the EXIF date) but it actually
 changed the EXIF date to the file date instead.  -- Murray</div><div><br></div></td></tr></tbody></table></blockquote><div><br></div></div></div><div>Luckily you had backups, right..?</div><div><br></div><div><br></div>

<div>This is what I use to copy EXIF date to file date (nef files in this case): </div>
<div><br></div><div>Licence: GPLv3 or later</div><div><br></div><div><div>#!/bin/bash</div><div>#<a href="mailto:risto@kurppa.fi" target="_blank">risto@kurppa.fi</a> 2006-05-22</div><div><br></div><div>#requires: dcraw && exiftool installed</div>


<div><br></div><div>#find | grep \.nef$</div><div>#ls | grep -i .nef$</div><div><br></div><div>for i in $(ls | grep -i .nef$)</div><div>     do                                                              </div><div>        src=$i                                                       </div>


<div>        echo $src                                                    </div><div>                                                                     </div><div>        #update file date from exif                                  </div>


<div>        exiftool '-DateTimeOriginal>FileModifyDate' $src             </div><div>     done                                                            </div><div>                                                                     </div>


<div>for i in $(ls | grep -i .jpg$)                                       </div><div>     do                                                              </div><div>        src=$i                                                       </div>


<div>        echo $src                                                    </div><div>                                                                     </div><div>        #update file date from exif                                  </div>


<div>        exiftool '-DateTimeOriginal>FileModifyDate' $src             </div><div>     done                                                            </div><div>                                                                     </div>


<div>echo Finished!</div></div><div><br></div></div><div><div></div><div class="h5"><br clear="all"><br>-- <br>| risto h. kurppa<br>| risto at kurppa dot fi<br>| <a href="http://risto.kurppa.fi" target="_blank">http://risto.kurppa.fi</a><br>


</div></div></div><br><br clear="all"><br>-- <br>| risto h. kurppa<br>| risto at kurppa dot fi<br>| <a href="http://risto.kurppa.fi">http://risto.kurppa.fi</a><br>