Duplicate photos of entire photo library

In Photos on my MacBook Pro, I switched the preference for iCloud Photos from "Optimize Mac Storage" to "Download Originals to this Mac". Now, I have two copies of every photo in my entire photo library!


Is this supposed to happen? I thought this was a selection to choose between either original size OR an optimized size. However, it seems that I now have both the original size AND optimized size version of every photo.


How do I get rid of the optimized size versions? It would literally take days to delete them manually. How do I even tell the the two versions apart? The duplicates have the same time stamps.

MacBook Pro 15″, macOS 10.15

Posted on Jan 31, 2021 7:17 PM

Reply

Similar questions

19 replies

Jan 31, 2021 11:57 PM in response to ndsean

Where are you seeing the copies? Inside the Photos Library package?

Photos is creating working copies for each image file you import for a faster browsing. This is normal and necessary. There are thumbnails, previews, detected faces, items for the media browser in different folders. Many of these files are looking like duplicates of the same size as the original, but are actually clones or hard links and are stored efficiently and not needing extra storage. If you are no longer using "Optimise storage", you will need storage for the original image files plus the storage for the previews of the image files that have been edited.

If the originals are HEIC files, or HEVC you will need the additional storage for a version in a more compatible format. Would it be possible for you to upgrade to Big Sur and Photos 6? In Photos 6 are currently no longer JPEG previews for HEIC files created and it is saving a lot of storage. However, we are no longer seeing the HEICs in the Media Browser in other apps.

Feb 1, 2021 9:20 AM in response to ndsean

Are the two versions of the photo shown side-by-side in All Photos? Could it be, that you have enabled my Photo Stream? The My Photo Stream photos are also shown in All Photos.


You may want to compare the Info for the apparent duplicates. Are the filenames the same, the file type (both are JPEGs for example), is the pixel size the same and the file size?

You may want to enable all badge overlays in the View menu: "View > Metadata". Set all checkmarks there, so you can tell by the badges on the thumbnails, if one of the versions has been edited, for example.


One more question, if you do not mind: When you changed the preferences for iCloud and disabled "Optimise Storage", did you do this while viewing the same Photos Library as before? You can see the path to your current Photos Library in the Photos Preferences > General > Path to Photos Library.


Feb 1, 2021 11:51 PM in response to ndsean

When looking at the metadata, the duplicates have the exact same time stamp but one is HEIF and the other is JPEG, and they are different file sizes.

A JPEG has twice the file size of a HEIC file of the same quality. HEIC has a better compression algorithm.


If your iPhone is set to shoot the photos in the high efficiency format HEIC, please check the Settings on your iPhone for the transfer to a computer. You will create JPEG duplicates by downloading the the photos as JPEGs from the iPhone by manually downloading. Using HEIF or HEVC media on Apple devices - Apple Support

  • Check "Settings > Camera > Formats". Is it set to "High Efficiency"? Then you are using the space saving HEIF on the iPhone, which is supported on a Mac with macOS 10.15
  • Check "Settings > Photos > Transfer to Mac or PC. Is it set to "Most Compatible"? If yes, that is the setting that is creating the additional JPEGS, when you download the photos manually from your Mac. I would change it back to "Keep originals".

The problem is, that iCloud is syncing the HEIC files to your Mac, and when you download the images manually, you are importing additional JPEGS because of the "Transfer to Mac or PC" setting.


Feb 1, 2021 6:00 PM in response to ndsean

You don't have a top strip reading Years, Months, Days, All Photos over the grid of pictures in the Photos view under Library in the left sidebar?


Is it possible that you have used a cable connection to import photos directly from your iPhone to your Mac? Combining different transfer methods (iCloud Photos, My Photo Stream, direct cable import) between the same pair of devices can cause confusion such as you describe. They don't follow the same rules on what the result is called, interfering with duplicate detection.



Feb 1, 2021 1:02 AM in response to ndsean

Hi


If you are looking inside the library package - I strongly recommended you stop. If you delete anything from there, or edit anything, you will damage the library and potentially lose access to all your photos. It is a data structure not intended for the end user to play with - that is why the contents are hidden by default.


Leonie has provided an explanation of why there are multiple versions of the same image inside the library package.

Feb 1, 2021 4:49 PM in response to TonyCollinet

Currently it says "Upload Failed for 44 Items". I can click on a link "View" and see those 44 photos. All of them are from 2016 and before. Why is that happening too? I'm not sure what it said right after sync completion, since I've been trying all sorts of things since then.


I should also mention that I tried switching back to "Optimize Mac Storage" to see if that would return things back to normal, but nothing changed. Now, if I click on "Download Originals to this Mac" again, it says it is going to download thousands of photos. I'm worried that I'll then have 3 copies of each one!

Feb 1, 2021 5:00 PM in response to léonie

Yes, the two versions are side-by-side when "Photos" is selected from the left-hand menu on my Mac. I don't have an "All Photos" option, and the "My Photo Stream" option is not longer present. And now, the duplicates are also showing on my iPhone, so the issue has gotten worse.


When looking at the metadata, the duplicates have the exact same time stamp but one is HEIF and the other is JPEG, and they are different file sizes. So that still leads me to believe that Photos is showing me both the full-res and the optimized versions.


I only have one photos library, and that has not changed throughout this process.

Feb 1, 2021 7:39 PM in response to markwmsn

Sorry. Yes, that strip is at the top, and I'm looking at "All Photos".


I recently got a new iPhone 12, and connected my old iPhone to my Mac to backup via cable in order to ensure that I wouldn't lose anything. In the long past, I had connected via cable periodically to make a backup, but that was on a rare occasion. However, none of that seemed to produce duplicates until changing the iCloud preferences.

Feb 8, 2021 7:25 PM in response to léonie

I wasn't aware of either of these setting options, so thank you. I've verified the following, which was also the setting of my old iPhone:


Settings > Camera > Formats = High Efficiency

Settings > Photos > Transfer to Mac or PC = Automatic


Is "Automatic" the same functionality as "Most Compatible"? The only alternative option to choose is "Keep Originals".


Are you saying that I should change this setting? (I've never touched this setting before) And if I do, will the JPEG duplicates disappear? How do I get rid of them?


And how to I fix the issue of "Upload Failed for 44 Items"?

Mar 1, 2021 9:40 AM in response to ndsean

Thank you to everyone who has replied to this thread. It has all been very helpful. No more duplicates appear as I take more photos, so the system appears to have stabilized with the new settings.


However, I still have duplicates of all of my other photos. How do I get rid of them besides manually deleting the JPG versions, which would take a very long time?


Also, how to I fix the "Upload Failed for 44 Items" error?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Duplicate photos of entire photo library

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.