{"id":44357,"date":"2026-01-29T14:29:23","date_gmt":"2026-01-29T12:29:23","guid":{"rendered":"https:\/\/www.main-vision.com\/richard\/blog\/?p=44357"},"modified":"2026-01-29T14:29:23","modified_gmt":"2026-01-29T12:29:23","slug":"a-shell-fish-use-of-ai-exporting-flickr-zips","status":"publish","type":"post","link":"https:\/\/www.main-vision.com\/richard\/blog\/a-shell-fish-use-of-ai-exporting-flickr-zips\/","title":{"rendered":"A Shell-fish use of AI &#8211; Exporting Flickr Zips"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span><p>Imagine, you decide to backup your photos from a website such as flickr, but you find that it generates over a hundred files. Imagine going through and downloading every file manually. Imagine clicking hyperlinks one hundred and sixty eight times. Imagine having so little pressure on your time.<\/p>\n<p>That&#8217;s where a quick ai prompt will get AI to get a shell script to do the work for you. A shell script is a few lines of code that you run via a dot sh file to do a repetitive task, or chore for you.<\/p>\n<p>In my case I decided to download my flickr library once again. I noticed that unlike Google Takeout it does not give me the option of saying &quot;create 50 GB files&quot; so when it output 168 small photo files I had to accept that this is what I have to play with. Some people will say &quot;work&quot; but as it&#8217;s about learning I write &quot;play&quot;.<\/p>\n<h2>Understanding the URL structure<\/h2>\n<p>The beauty of Flickr export files is that they&#8217;re sequential so the address is url-n+1.zip. This means that you can easily create an if-else loop that runs through from 1-168, and then stops.<\/p>\n<p>The <a href=\"https:\/\/ksuite.infomaniak.com\/all\/euria\">Euria<\/a> Summary:<\/p>\n<ul>\n<li>Prompts you to enter the base URL (e.g., <a href=\"https:\/\/example.com\">https:\/\/example.com<\/a> file)<\/li>\n<li>Assumes filenames follow the pattern: <base_url><number>.zip (e.g., <a href=\"https:\/\/example.com\/file4.zip\">https:\/\/example.com\/file4.zip<\/a>)<\/li>\n<li>Downloads files sequentially (1 file at a time)<\/li>\n<li>Stops when it fails to find the next file (e.g., 169)<\/li>\n<li>Creates a download_summary.txt listing all successfully downloaded files<\/li>\n<\/ul>\n<p>For the sake of this experiment I told <a href=\"https:\/\/ksuite.infomaniak.com\/all\/euria\">Euria<\/a> that I want a script where I give the URL and I want it to download one file at a time, and when it finds that it has no more files, that it says &quot;task completed&quot; as well as provides a summary text file for me to check.<\/p>\n<h2>And Finally<\/h2>\n<p>A few days ago I requested data from Google Takeout but when I saw that I had over one hundred files I aborted that export and asked for the 50 GB option and that worked. With Flick I was not given a choice, hence the tool.<\/p>\n<p>AI can provide you with the simple tool you&#8217;re looking for without hours of searching.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>Imagine, you decide to backup your photos from a website such as flickr, but you find that it generates over a hundred files. Imagine going through and downloading every file manually. Imagine clicking hyperlinks one hundred and sixty eight times. Imagine having so little pressure on your time. That&#8217;s where a quick ai prompt will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":41400,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federated","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9],"tags":[1180,6818,782,6105,6378],"class_list":["post-44357","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-related","tag-backup","tag-convenience","tag-flickr","tag-photos","tag-simple"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/44357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/comments?post=44357"}],"version-history":[{"count":1,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/44357\/revisions"}],"predecessor-version":[{"id":44358,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/44357\/revisions\/44358"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/media\/41400"}],"wp:attachment":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/media?parent=44357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/categories?post=44357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/tags?post=44357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}