Some backstory: I wanted to transfer some photos from my iPhone X (running iOS 13.6) to my Windows 10 PC (running Version 2004 – the "May 2020 Update") in their original, HEIC format. I noticed that whenever you upload a photo to a cloud storage platform (Google Drive, OneDrive) or via email (for example, the default Mail, Gmail, or Outlook apps), the HEIC photo is converted to a JPG file format. The only way to transfer the original HEIC format is via iTunes (or some other equivalent software), or – more quickly – by just connecting the iPhone via USB and using Windows' File Explorer to retrieve the file.
So, I did the latter and was browsing the directory for the photo that I wanted. Let's say, for example's sake, that the photo's filename was "IMG_100.HEIC". The corresponding directory structure was: This PC\Apple iPhone\Internal Storage\DCIM\120APPLE\IMG_100.HEIC
. However, I was shocked to see that there were – in fact – two files named "IMG_100.HEIC" in the exact same folder! What's more is that the photos weren't even the same (different date taken, different location, etc).
So, how is this even possible and how come iOS is able to store multiple photos with identical filenames in the same directory – something that is generally forbidden to do, to my knowledge, at least in Windows?
mdls
command to list all metadata since APFS can store localized names, display names, file system names and more. Not sure there’s an easy lever on what iOS presents to the windows OS via network share protocol... Cool question - wanted to help if you had a side quest while we see who has ideas on main : - )