Apple Event: May 7th at 7 am PT

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

Am I able to delete the "migrated photo library" after I convert from iPhoto to Photos?

I've recently converted to the new Photos app in OSX and have noticed there is a large library with the iPhotos library logo (52.1Gb). I'm wondering if I can safely delete this without losing any pictures from my Photos library. or if not, what is its purpose and why is it so large?


Here are some screenshots of an OmniDiskSweeper sweep of my home drive and of finder:


User uploaded file

User uploaded file

User uploaded file


Any help is greatly appreciated as I have very limited disk space!

MacBook Pro with Retina display, OS X Yosemite (10.10.3)

Posted on May 1, 2015 10:44 AM

Reply
Question marked as Best reply

Posted on May 1, 2015 11:05 AM

The Photos Library and the Migrated iPhoto Library are sharing the image files by hard links.


You would not gain any additional disk space by deleting the "iPhotos library.migratedphotolibrary", but would lose the opportunity to use your library again with iPhoto or to repeat the migration, if you should discover that some photos did not migrate correctly. The reported size of the library is misleading. The filesystem counts them twice, because hardiness look like regular files.

See these documents:


Wait with deleting the iPhoto library until you are very sure, that each and every photo migrated correctly, and you are happy with the workflow in Photos.


Are you using iCloud Photo Library? Otherwise the Photos Library and the Migrated iPhoto Library should have approximately the same size.

21 replies

Jul 29, 2016 12:41 PM in response to Dejaliyah

the space saved depends on many things and generally is very little - in a few unusual circumstances it may be more or even a lot - hence the general recommendation (probably over 99% correct) that very little space will be saved - the longer it has been since the migration and the more photos that have been deleted for Photos the greater the saving will be


LN

Oct 20, 2016 7:45 AM in response to léonie

an old but interesting topic I know but I thought I'd correct a small point in the first article.

When two file's point to the same inode changing one WILL change both files, it must be iPhoto that is duplicating the files. Also finder reports the 'wrong size' (double) it's not clever enough however du -sk Pictures works


eg.

maci7:link simon$ ls -li total 16 24150431 -rw-r--r-- 2 simon wheel 6 20 Oct 15:36 f1 24150431 -rw-r--r-- 2 simon wheel 6 20 Oct 15:36 f2 maci7:link simon$ ls -i 24150431 f1 24150431 f2 maci7:link simon$ cat * file2 file2 maci7:link simon$ echo file1 >f1 maci7:link simon$ cat * file1 file1 maci7:link simon$

Oct 20, 2016 9:55 AM in response to Simonp123456

No your correction is incorrect - the files are not duplicated -- this article by Apple is correct - Photos saves disk space by sharing images with your iPhoto or Aperture libraries - Apple Support


and since neither iPhoto nor Photos ever change the original file there is no issue or conflict of any sort - at migration there is no additional disk space used for Photo storage - over time photos deleted from one f=program and not deleted from the other will remain so if you are not using either program after several months it may pay to archive and delete its unused library


LN

Oct 21, 2016 12:17 PM in response to LarryHN

sorry I meant the second article ! Specifically…


So what happens if you edit one of those files? Something very clever, it turns out: If I open the JPEG image from the migrated iPhoto library in Photoshop, edit it, and save it, that version is indeed altered—but the version in the Photos library is untouched. Basically, modifying that file causes the link between the two versions to break. They’re different, and no longer connected.




This paragraph is technically mis-leading, since as my post shows, writing to a Unix file that has multiple hard links does not in itself create a separate version of that file.


I suppose Photoshop must be re-creating a new file though i.e when 'do you want to overwrite' is prompted before the PSD is saved as .jpg, it breaks the link. I don't think many people would do this though, I'd just save it as a new file.

Am I able to delete the "migrated photo library" after I convert from iPhoto to Photos?

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