{"id":11,"date":"2010-06-20T13:39:14","date_gmt":"2010-06-20T17:39:14","guid":{"rendered":"http:\/\/cliotropic.org\/wip\/?p=11"},"modified":"2010-06-20T14:09:17","modified_gmt":"2010-06-20T18:09:17","slug":"naming-archival-reference-photos","status":"publish","type":"post","link":"http:\/\/cliotropic.org\/wip\/2010\/06\/20\/naming-archival-reference-photos\/","title":{"rendered":"Naming archival reference photos"},"content":{"rendered":"<p>Now that summer is well underway, many of us are deeply ensconced in archival research. Some of us, particularly the newly-<a href=\"http:\/\/www.noodlesoft.com\/hazel.php\">ABD<\/a>, are looking at our digital cameras and carts full of <a href=\"http:\/\/www.google.com\/images?q=hollinger+boxes\">Hollinger boxes<\/a> and wondering how to make sense of it all.<\/p>\n<p>I&#8217;ve written before about <a href=\"http:\/\/cliotropic.org\/blog\/talks\/camera-laptop-and-what-else\/\">hacking better tools for the short research trip<\/a> and\u00c2\u00a0 <a href=\"http:\/\/cliotropic.org\/blog\/2009\/12\/taming-the-all-digital-history-research-collection-1-tagging-and-filing\/\">taming the all-digital research collection<\/a>, but here&#8217;s a more specific tip:<\/p>\n<p><strong>When you&#8217;re shooting reference-quality photos, think about your file names like accession numbers.<\/strong> When you take notes, you&#8217;re going to want to refer to individual images, and it&#8217;s easier to take notes from photos if you know that every image you ever shoot has a unique file name.<\/p>\n<p>On the Mac, I use a simple file renaming tool, <a href=\"http:\/\/www.noodlesoft.com\/hazel.php\">Hazel<\/a>, to make this easier. Hazel watches whatever directories you tell it to, then executes a set of rules on the files it finds. It&#8217;s free for a 14-day trial and US$21.95 to register. Here&#8217;s what it looks like (click on the image to enlarge):<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Hazel-main-dialog.png\" rel=\"lightbox[11]\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-14 aligncenter\" title=\"Hazel main dialog\" src=\"http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Hazel-main-dialog-300x226.png\" alt=\"\" width=\"300\" height=\"226\" srcset=\"http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Hazel-main-dialog-300x226.png 300w, http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Hazel-main-dialog.png 672w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>So I have a folder called <tt>incoming images<\/tt>, and I can tell Hazel to pick up all JPG files that begin in DSCN&#8212; which is how my camera names files&#8212; and rename them according to a pattern I choose. Here&#8217;s the rule-setting dialog:<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Hazel-rules-screen.png\" rel=\"lightbox[11]\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15 aligncenter\" title=\"Hazel rules screen\" src=\"http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Hazel-rules-screen-300x236.png\" alt=\"\" width=\"300\" height=\"236\" srcset=\"http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Hazel-rules-screen-300x236.png 300w, http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Hazel-rules-screen.png 663w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>For archival reference images, it&#8217;s important that the pattern be sortable and that it be based on the file creation time of the image as it comes from your camera. That way, when you sort the files by name, you see them in the order that you shot them.<\/p>\n<p>When I started doing this several years ago, I wanted something human-readable, so I chose to use a naming convention that contained a written-out month. By this rule, <tt>DSCN0316.JPG<\/tt> became <tt>08Jun2008-113648 DSCN0316.JPG<\/tt>\u00e2\u20ac\u201d an image that I shot on June 8, 2008, at 11:36:48. That way, however I moved the file (to put it into folders by collection), it would retain its sortability.<\/p>\n<p style=\"text-align: left;\">Note that the numbers are all padded with <a href=\"http:\/\/en.wikipedia.org\/wiki\/Leading_zero\">leading zeros<\/a>; this is what makes the sorting work properly. To make sure this happens in Hazel, you&#8217;ll need to edit the date pattern:<br \/>\n<a href=\"http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Screen-shot-2010-06-20-at-12.51.56-PM.png\" rel=\"lightbox[11]\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-12 aligncenter\" title=\"Screen shot 2010-06-20 at 12.51.56 PM\" src=\"http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Screen-shot-2010-06-20-at-12.51.56-PM-300x237.png\" alt=\"\" width=\"300\" height=\"237\" srcset=\"http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Screen-shot-2010-06-20-at-12.51.56-PM-300x237.png 300w, http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Screen-shot-2010-06-20-at-12.51.56-PM.png 665w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">Then, for every element of the date where you&#8217;re using a number, set it so that all digits of the number will be displayed, like this:<br \/>\n<a href=\"http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Screen-shot-2010-06-20-at-12.31.40-PM.png\" rel=\"lightbox[11]\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-13 aligncenter\" title=\"Date pattern dialog showing leading zeros\" src=\"http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Screen-shot-2010-06-20-at-12.31.40-PM-300x206.png\" alt=\"\" width=\"300\" height=\"206\" srcset=\"http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Screen-shot-2010-06-20-at-12.31.40-PM-300x206.png 300w, http:\/\/cliotropic.org\/wip\/wp-content\/uploads\/2010\/06\/Screen-shot-2010-06-20-at-12.31.40-PM.png 415w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>If I were setting up a naming convention again, I&#8217;d do it differently, more like museums and archives do their accession numbers: <tt>year.month.day.serialnumber<\/tt>, where <tt>serialnumber<\/tt> starts at 00001 and goes up for each photo I shoot that day. Unfortunately, this is a kind of renaming that Hazel doesn&#8217;t support well, and it requires slightly more complex scripting. In the meantime, this works fine.<\/p>\n<p>I&#8217;ve posted the Hazel ruleset I use to my <a href=\"http:\/\/github.com\/cliotropic\/diy-archives-tools\">diy-archives-tools<\/a> package, which is hosted at <a href=\"http:\/\/github.com\">GitHub<\/a>. (GitHub is a social version-control site; it lets me share revisions for software that I&#8217;m working on. For more on version control systems like Git and how to use them, read Julie Meloni&#8217;s <a href=\"http:\/\/chronicle.com\/blogPost\/A-Gentle-Introduction-to\/23064\/\">A Gentle Introduction to Version Control<\/a>.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that summer is well underway, many historians are deeply ensconced in archival research. Some of us, particularly the newly-ABD, are looking at our digital cameras and carts full of Hollinger boxes and wondering how to make sense of it all. The first step is being able to find an image reliably, and that requires good file naming practices.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[14,16,17,19,13,15,18],"class_list":["post-11","post","type-post","status-publish","format-standard","hentry","category-digital-archives","tag-archives","tag-filing","tag-hazel","tag-howto","tag-os-x","tag-photos","tag-tools"],"_links":{"self":[{"href":"http:\/\/cliotropic.org\/wip\/wp-json\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/cliotropic.org\/wip\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/cliotropic.org\/wip\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/cliotropic.org\/wip\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/cliotropic.org\/wip\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":0,"href":"http:\/\/cliotropic.org\/wip\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"wp:attachment":[{"href":"http:\/\/cliotropic.org\/wip\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/cliotropic.org\/wip\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/cliotropic.org\/wip\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}