{"id":39073,"date":"2023-04-18T16:55:15","date_gmt":"2023-04-18T20:55:15","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=39073"},"modified":"2024-10-21T14:14:10","modified_gmt":"2024-10-21T18:14:10","slug":"duplicate-safari-downloads-replacing-files","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2023\/04\/18\/duplicate-safari-downloads-replacing-files\/","title":{"rendered":"&ldquo;Duplicate&rdquo; Safari Downloads Replacing Files"},"content":{"rendered":"<p><a href=\"https:\/\/talk.tidbits.com\/t\/duplicate-downloads-replacing-files-id-call-this-a-safari-bug\/21753\">jmhbpc<\/a>:<\/p>\n<blockquote cite=\"https:\/\/talk.tidbits.com\/t\/duplicate-downloads-replacing-files-id-call-this-a-safari-bug\/21753\">\n<p>Not sure when the feature started in Safari wherein duplicate downloads, within close proximity in time, would be replaced by the latest download&#8230;<\/p>\n<p>But I have noticed a bit of a flaw in that feature.<\/p>\n<p>Example: When downloading zipped music files at Bandcamp a zip archive of the same name can replace a previous version of the same name: even though its contents are different.<\/p>\n<p>For my example the following can occur: A zip file with my preferred aiff files was deleted when accidentally downloading the same album in a different file format not preferred (mp3)<\/p>\n<\/blockquote>\n<p>I&rsquo;ve been seeing this happen for years when testing downloads of my apps and sometimes when downloading photos. Coalescing identical files makes some sense, but it&rsquo;s confusing and could delete important data if the files are not actually the same.<\/p>\n<p><a href=\"https:\/\/talk.tidbits.com\/t\/duplicate-downloads-replacing-files-id-call-this-a-safari-bug\/21753\/7\">Marc Z<\/a>:<\/p>\n<blockquote cite=\"https:\/\/talk.tidbits.com\/t\/duplicate-downloads-replacing-files-id-call-this-a-safari-bug\/21753\/7\"><p>This has definitely been a problem for a long time. I see it frequently. For instance, every year about this time I go to download all my past year&rsquo;s bank statements to go through for my tax preparation. At least one of my banks names the downloaded file &ldquo;stmt.txt&rdquo; with no indication of which month it is. If I click on several months to download each statement, I will only end up with the most recent one as the others get downloaded and then overwritten. So instead of clicking 12 times (once for each month) I have to click, go to the Downloads folder, rename the file with the appropriate month number, go back to Safari, and click on the next month. It&rsquo;s annoying.<\/p><p>[&#8230;]<\/p><p>That&rsquo;s just one example: I&rsquo;ve had the problem with downloads on other sites, too. (Like a clipart\/stock photo site where I painstakingly went through to find and download thumbnails of a dozen possible graphics I might want to use, and when I went to the Finder there was only a single file saved, called preview.jpg &#x2013; the site named all the thumbnails the same. &#x1F926;&#x200D;&#x2642;&#xFE0F;<\/p><\/blockquote>\n<p>Safari also checks for &ldquo;duplicates&rdquo; when asked to open links from other apps. If you click a link and there&rsquo;s already a tab open for that URL, it will activate that tab instead of opening a new one.<\/p>\n<p id=\"duplicate-safari-downloads-replacing-files-update-2023-04-21\">Update (2023-04-21): This tab coalescing can lead to data loss, e.g. if you have typed into a form and then click a link that has the same URL as the form it will reload the page and discard what you entered.<\/p>","protected":false},"excerpt":{"rendered":"<p>jmhbpc: Not sure when the feature started in Safari wherein duplicate downloads, within close proximity in time, would be replaced by the latest download&#8230; But I have noticed a bit of a flaw in that feature. Example: When downloading zipped music files at Bandcamp a zip archive of the same name can replace a previous [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2023-04-18T20:55:18Z","apple_news_api_id":"ec4dbcce-be91-4607-8f90-d538b5d7e929","apple_news_api_modified_at":"2023-11-27T15:48:41Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAQ==","apple_news_api_share_url":"https:\/\/apple.news\/A7E28zr6RRgePkNU4tdfpKQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[2503,131,1016,30,2223,103,2673],"class_list":["post-39073","post","type-post","status-publish","format-standard","hentry","category-technology","tag-bandcamp","tag-bug","tag-datacide","tag-mac","tag-macos-13-ventura","tag-safari","tag-zip-archive"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/39073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=39073"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/39073\/revisions"}],"predecessor-version":[{"id":39107,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/39073\/revisions\/39107"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=39073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=39073"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=39073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}