You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Does Photos overwrite existing files when exporting a photo with the same file name?

I usually export all my favorite photos from "Photos" to various folders on my hard disk so I can look at them as screen savers etc. However, when my iPhone "rolls over" from IMG_9999.jpg to IMG_0001.jpg, what happens when I save a photo which has a file name that already exists in that folder? I have never seen a warning (file name exists) or the creation of a "version number" (like many other Mac programs do, e.g. Mail when exporting files). I'm starting to fear the worst: That "Photos" simply overwrites the old files without warning. CAN THAT BE POSSIBLE?

MacBook Air 13″, macOS 10.15

Posted on Oct 17, 2020 2:18 PM

Reply
5 replies

Oct 17, 2020 6:51 PM in response to Sebastian Kuhn

Sebastian Kuhn:


«the 3rd etc. photo» will have “copy” followed by 2, 3, etc.


It is an, essentially, unending sequence.


I, too, am a little disappointed that you are not presented with a choice to do otherwise.


However, it is consistent with a certain interpretation of “ease of use”.


(Personally, I find that to be an OK default, but I would prefer to have the option to have the normal dialogue feature.)

Oct 17, 2020 5:27 PM in response to Sebastian Kuhn

I did some sleuthing, and found that

1) Sometime in the last 3 years, "Photos" started saving photos with file extension ".jpeg" instead of ".jpg" before. This obviously doubles the number of distinctive file names.

2) Apparently, there were some overlaps in the past, and I found that those photos simply have the word "copy" attached to the file name. This is a momentary fix, but I wonder how this would be continued if the 3rd etc. photo with the otherwise same name came around. Also, I still find it a weird that there is no alert or dialog box that allows me to select what to do if a filename already exists.

Of course, all of this happens since I use the defaults for "export photos", which is"Use Filename". I wonder whether anyone at Apple really thought this through...

Oct 17, 2020 2:54 PM in response to Halliday

Sebastian Kuhn:


  • I would hope that the Photos App is not an exception to the above general rule!


In order to test this hypothesis, I recommend you export a couple of photos into a new folder, and test.


In order to avoid the possibility that the Photos App may consider that storing an identical photo over itself is a non-issue, I recommend changing names to be identical to other, different photos that you will try to export to the same folder.


Then, try the export of the different but identically named photos, to see what happens.


If the Photos App “clobbers” the different photos of the same names—completely without a warning of any kind—then I recommend you give Apple your Feedback on this matter. (Strong, but respectful, non-vulgar language would be appropriate.)


Fortunately, I don’t expect that outcome, but it’s best to test just in case, especially with your concern!

Oct 17, 2020 2:31 PM in response to Sebastian Kuhn

Welcome, Sebastian Kuhn, to Apple Support Communities!


You have been exporting photos from the Photos App, on your Mac (MacBook Air 13”?), to your drive.


Whenever you attempt to save a file with a name that matches another file, in the folder you are trying to save to, you should be greeted with a dialogue asking whether you want to Cancel the operation, Replace the old file of the same name, or to keep Both files.


The last option will append a number 2 to the end of the filename, or increment a trailing number, if the existing file ended in a number.


Unfortunately, when so many photo files end in numbers already, while this will prevent the new file from “clobbering” the old, it can lead to questions of which files are which.


However, you can use the file creation time to help sort this out.


(Personally, I tend to rename photos, in order to help me see what-is-what.)

Does Photos overwrite existing files when exporting a photo with the same file name?

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