{"id":737,"date":"2011-10-26T10:55:31","date_gmt":"2011-10-26T17:55:31","guid":{"rendered":"https:\/\/accretiondisc.com\/blog\/?p=737"},"modified":"2011-10-26T11:01:01","modified_gmt":"2011-10-26T18:01:01","slug":"leaving-iphoto","status":"publish","type":"post","link":"https:\/\/accretiondisc.com\/blog\/2011\/10\/26\/leaving-iphoto\/","title":{"rendered":"Leaving iPhoto"},"content":{"rendered":"<p>Yesterday I did an &#8220;empty trash&#8221; command in <a href=\"http:\/\/www.apple.com\/ilife\/\">iPhoto<\/a>, to expunge 27 thousand photos I&#8217;d just deleted. Characteristically, the application hung. Well, it probably didn&#8217;t hang. After half an hour, I did a force quit, and on reopening the program and emptying the trash again, it told me there were about 5,000 photos to be deleted. Another 15 minutes wasn&#8217;t enough time for iPhoto to clean them up, so I force quit again, broke out a shell in Terminal and did:<\/p>\n<blockquote>\n<pre>$ cd ~\/Pictures\/\n$ rm -rf iPhoto*\n$ cd ~\/Library\/Caches\n$ rm -rf com.apple.iPhoto<\/pre>\n<\/blockquote>\n<p>&#8230;which fixed things very nicely.<\/p>\n<p>So ended a 27-month experiment with Apple&#8217;s end-user image management software. They also have a &#8220;pro&#8221; or &#8220;prosumer&#8221; product called <a href=\"http:\/\/www.apple.com\/aperture\/\">Aperture<\/a>, and if iPhoto is any indicator, I wouldn&#8217;t have it, even gift wrapped.<\/p>\n<p>Between 2001 and 2009, I&#8217;d used my own set of tools to manage and manipulate my digital images, but when I got the MacBook, I decided to try iPhoto. That was two versions ago, and the things I disliked with &#8217;09 weren&#8217;t fixed in &#8217;10, and there wasn&#8217;t any sign they&#8217;ve been fixed in &#8217;11 either.<\/p>\n<p>What are those? Primarily two things:<\/p>\n<ol>\n<li>Speed. Or rather, its lack. The software just wasn&#8217;t very responsive. Dragging the elevator on a scroll bar felt sluggish, and if that&#8217;s not easy, what good is a photo management app?<\/li>\n<li>Noise. Running iPhoto was like playing Flash videos on YouTube: both cause my computer to heat up to where the fan runs. It doesn&#8217;t matter what I was <em>doing<\/em> in iPhoto; I could go away and drink a cup of coffee and it would just start overheating all by itself.<\/li>\n<\/ol>\n<p>Now, I had some other complaints as well. I don&#8217;t need face recognition, and I would like text search, but Apple evidently has the opposite set of priorities. I would love to have uploads to social media sites, but the iPhoto way didn&#8217;t win me over at first blush, so I used other tools.<\/p>\n<p>Sometime this summer, I gave up on iPhoto. Since then, I&#8217;ve spent my free time copying files out of the iPhoto library and renaming them and filing them elsewhere. I&#8217;d like to have tags, but what I&#8217;ve learned in 30 years with a Unix shell is that <a href=\"http:\/\/en.wikipedia.org\/wiki\/Find\">find<\/a>(1) is pretty good at finding things:<\/p>\n<blockquote>\n<pre>$ find . -name '*whatever*'<\/pre>\n<\/blockquote>\n<p>for some really tricky things, I break out grep:<\/p>\n<blockquote>\n<pre>$ find . -name '*whatever*' \\\n\t| egrep -i 'one thing|another' \\\n\t| egrep -v 'but not this'<\/pre>\n<\/blockquote>\n<p>Yesterday, I finished the conversion and (after making lots of backups in lots of places on multiple drives), I emptied the trash in iPhoto. My fan hasn&#8217;t run since then.<\/p>\n<p>I also noticed that while those 27K photos took 41 GB of space in iPhoto, they only occupy 38 GB in the filesytem. What was iPhoto doing with the other 3 GB?<\/p>\n<p>Recovering eight or ten percent of a dataset isn&#8217;t chopped liver, but the space saving may prove eventually to be even more significant. iPhoto is monolithic. (By default, at least.) You put your files in there, and it&#8217;s a huge black box and you don&#8217;t need to worry your pretty head about what&#8217;s going on inside. But the filesystem gives me all kinds of options about how to manage my image files. For example, I can put different subsets of the data on different media, with symlinks connecting one part with another.<\/p>\n<p>For now, I&#8217;ve stored everything in a single master folder. Within that, files are stored by year (<em>2001<\/em>, <em>2002<\/em>, etc.). Within a year&#8217;s folder, I typically store files by the month (<em>01-jan<\/em>, <em>02-feb<\/em>, &#8230;). Since I take the most photographs when I&#8217;m on vacation, I sometimes put vacation photos in their own folder (<em>04-vac<\/em>, etc.). Finally, I have a separate folder for video files called &#8216;<em>movies<\/em>&#8216;. Those files are typically 10x or 20x as big as a photo, but I only have a handful, so I manage them as a collection.<\/p>\n<p>The files themselves are typically given descriptive names (<em>accident-minivan-01.jpg<\/em>, <em>home-oleanders-07.jpg<\/em>) etc. Because I do so much work from the command line, I don&#8217;t put spaces in the names. In lieu of a space, I prefer a hyphen (<tt>-<\/tt>) to an underscore (<tt>_<\/tt>) because it doesn&#8217;t require a shift key.<\/p>\n<p>In my next post, I&#8217;ll run through the tools I use to manipulate images.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday I did an &#8220;empty trash&#8221; command in iPhoto, to expunge 27 thousand photos I&#8217;d just deleted. Characteristically, the application hung. Well, it probably didn&#8217;t hang. After half an hour, I did a force quit, and on reopening the program and emptying the trash again, it told me there were about 5,000 photos to be [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[23,52],"tags":[281,409,407,408,405,406,94],"class_list":["post-737","post","type-post","status-publish","format-standard","hentry","category-life","category-technology","tag-apple","tag-applications","tag-hobbies-2","tag-ilife","tag-images","tag-iphoto","tag-software-2"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paRqpr-bT","_links":{"self":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/737","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/comments?post=737"}],"version-history":[{"count":0,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/737\/revisions"}],"wp:attachment":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/media?parent=737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/categories?post=737"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/tags?post=737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}