{"id":110,"date":"2007-08-30T10:01:18","date_gmt":"2007-08-30T14:01:18","guid":{"rendered":"http:\/\/blogs.n1zyy.com\/n1zyy\/2007\/08\/30\/phototool\/"},"modified":"2007-08-30T10:01:18","modified_gmt":"2007-08-30T14:01:18","slug":"phototool","status":"publish","type":"post","link":"https:\/\/blogs.n1zyy.com\/n1zyy\/2007\/08\/30\/phototool\/","title":{"rendered":"phototool"},"content":{"rendered":"<p>If I had more time right now, and was more familiar with how to parse EXIF data in shell scripts, I&#8217;d write a script that could parse a directory (or set of directories) and:<\/p>\n<ul>\n    <li>Weed out duplicates. (MD5 hashes would be fine.)<\/li>\n    <li>Adjust (based on manually-inputted corrections) timestamps on photos for a given camera. Mine was a day off. Someone else had the right date but set the year as 2008. This is just what a shell script is for, no?<\/li>\n    <li>Optionally, sort photos by:\n<ul>\n    <li>Date (imagine 4,820 photos from about five people, being sorted into 14 folders, one for each day.)<\/li>\n    <li>Camera (indirectly, person)<\/li>\n<\/ul>\n<\/li>\n    <li>Resize photos<\/li>\n<\/ul>\n<p>Imagine if one command could transform these 4,820 photos into a set of 14 folders, one for each day, and resize them all to 1600&#215;1200.<\/p>\n<p>I come across needs like this often enough that I might just have to look into writing this&#8230;<\/p>","protected":false},"excerpt":{"rendered":"<p>If I had more time right now, and was more familiar with how to parse EXIF data in shell scripts, I&#8217;d write a script that could parse a directory (or set of directories) and: Weed out duplicates. (MD5 hashes would &hellip; <a href=\"https:\/\/blogs.n1zyy.com\/n1zyy\/2007\/08\/30\/phototool\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,22,24],"tags":[],"class_list":["post-110","post","type-post","status-publish","format-standard","hentry","category-photography","category-programming","category-rants-raves"],"_links":{"self":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/comments?post=110"}],"version-history":[{"count":0,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/posts\/110\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/media?parent=110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/categories?post=110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.n1zyy.com\/n1zyy\/wp-json\/wp\/v2\/tags?post=110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}