{"id":1583,"date":"2026-09-05T12:12:09","date_gmt":"2026-09-05T12:12:09","guid":{"rendered":"https:\/\/stuartcupit.com\/wordpress\/?p=1583"},"modified":"2026-09-09T21:27:32","modified_gmt":"2026-09-09T21:27:32","slug":"all-my-book-covers","status":"publish","type":"post","link":"https:\/\/stuartcupit.com\/wordpress\/?p=1583","title":{"rendered":"All My Book Covers"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Went on a mission to remember all the books I&#8217;ve read and find the covers I remember from reading them. Partly as a reminder of all the great, mind-expanding books and partly because I think my brain is wired visually, I can often remember the cover but not the story. <br>Over the years, I&#8217;ve kept adding to the folder full of cover images as I read more and remembered ones I&#8217;d read in the past. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2049\" height=\"1153\" src=\"https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2026\/09\/all-my-book-covers-5-2049x1153.jpg\" alt=\"\" class=\"wp-image-1585\" srcset=\"https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2026\/09\/all-my-book-covers-5-2049x1153.jpg 2049w, https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2026\/09\/all-my-book-covers-5-400x225.jpg 400w, https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2026\/09\/all-my-book-covers-5-768x432.jpg 768w, https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2026\/09\/all-my-book-covers-5-1536x864.jpg 1536w, https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2026\/09\/all-my-book-covers-5-2048x1152.jpg 2048w\" sizes=\"auto, (max-width: 2049px) 100vw, 2049px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then recently I realised the collection had some duplicates because the pictures weren&#8217;t named by author or title (just whatever random filename they had when downloaded), so it&#8217;s hard to find if I had one already. <br>Pontificating about the best way to rename all 300+ files to author + title, I wondered if this was a job for the new-fangled AI LLM&#8217;s that are all the rage. <br>Asked Claude to write a program to look at the images and rename the files. It wrote a nifty little web interface, hosted it locally, downloaded and installed an LLM via Ollama, ran the program and Vola! All 300+ files were renamed. A little checking, and I found one or two where the title was so obscured by the cover art that the AI couldn&#8217;t work it out. Now I am easily able to find the duplicates because they have the same name. <br><br>Amazing!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The UI Claude came up with to rename all the image files. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1860\" height=\"1480\" src=\"https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2026\/09\/Screenshot-2026-09-04-170501.png\" alt=\"\" class=\"wp-image-1587\" srcset=\"https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2026\/09\/Screenshot-2026-09-04-170501.png 1860w, https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2026\/09\/Screenshot-2026-09-04-170501-400x318.png 400w, https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2026\/09\/Screenshot-2026-09-04-170501-768x611.png 768w, https:\/\/stuartcupit.com\/wordpress\/wp-content\/uploads\/2026\/09\/Screenshot-2026-09-04-170501-1536x1222.png 1536w\" sizes=\"auto, (max-width: 1860px) 100vw, 1860px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Went on a mission to remember all the books I&#8217;ve read and find the covers I remember from reading them. Partly as a reminder of all the great, mind-expanding books and partly because I think my brain is wired visually, I can often remember the cover but not the story. Over the years, I&#8217;ve kept&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1616,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1583","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1583"}],"version-history":[{"count":4,"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1583\/revisions"}],"predecessor-version":[{"id":1595,"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1583\/revisions\/1595"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/1616"}],"wp:attachment":[{"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stuartcupit.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}