Will deleting the photoslibrary on my Macbook also delete the pictures on my iphone?

Long story short, I accidentally put the photos library in OneDrive and now my OneDrive doesn't work the way it should. And now, I cannot get it out again. It always stays at "Preparing to move..." but never actually moves it, it just stops. So I thought I could try deleting it, but I'm worried about the pictures. Will they also get deleted from my iphone / ipad?

Posted on Mar 20, 2024 2:02 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 21, 2024 7:48 AM

No (many iPhone users don't even have a Mac) -- but don't do that yet.


You want the pictures from your phone on your Mac, right? Then use iCloud. Turn on iCloud on your phone so that all your pictures will be copied to iCloud Photos. You may have to pay $3 for a month the get enough iCloud storage. If you like it, you can continue; if not, you can cancel.


The idea is to create a new, empty Library on your computer, and let it fill up from iCloud. You make sure all is OK, and then dump the One Drive copy.


And by the way, you can use a Library from a properly Apple formatted drive that's directly connected to your Mac, but you can't keep a Library on a network drive or any drive not formatted for Mac. You can see some details here:

Move your Photos library to save space on your Mac - Apple Support


You can create a new Library by closing Photos and then option-clicking on the Photos icon. A dialog opens that shows any Library that Photos knows about, which one is the System Library, and it give the option of creating a new Library, like this:

I have a bunch of Libraries.


Once you do that, you need to open Photos>Settings>General and check "Use as System Photo Library," since that's the only one that syncs with iCloud.


Then you should go to Photos>Settings>iCloud and turn on iCloud:


You see that I have "Download Originals" checked, but you can choose "Optimize Storage" if you are concerned about having enough room on your drive. If you use "Optimize Storage," then you shouldn't cancel iCloud!


Then you sit back and wait, maybe a couple of days, for the new Library to acquire all your pictures from iCloud. And when you're satisfied that everything has worked properly, you can delete the Library on OneDrive.


Let us know how it goes, and if you have questions....



4 replies
Question marked as Top-ranking reply

Mar 21, 2024 7:48 AM in response to Lemonsanni

No (many iPhone users don't even have a Mac) -- but don't do that yet.


You want the pictures from your phone on your Mac, right? Then use iCloud. Turn on iCloud on your phone so that all your pictures will be copied to iCloud Photos. You may have to pay $3 for a month the get enough iCloud storage. If you like it, you can continue; if not, you can cancel.


The idea is to create a new, empty Library on your computer, and let it fill up from iCloud. You make sure all is OK, and then dump the One Drive copy.


And by the way, you can use a Library from a properly Apple formatted drive that's directly connected to your Mac, but you can't keep a Library on a network drive or any drive not formatted for Mac. You can see some details here:

Move your Photos library to save space on your Mac - Apple Support


You can create a new Library by closing Photos and then option-clicking on the Photos icon. A dialog opens that shows any Library that Photos knows about, which one is the System Library, and it give the option of creating a new Library, like this:

I have a bunch of Libraries.


Once you do that, you need to open Photos>Settings>General and check "Use as System Photo Library," since that's the only one that syncs with iCloud.


Then you should go to Photos>Settings>iCloud and turn on iCloud:


You see that I have "Download Originals" checked, but you can choose "Optimize Storage" if you are concerned about having enough room on your drive. If you use "Optimize Storage," then you shouldn't cancel iCloud!


Then you sit back and wait, maybe a couple of days, for the new Library to acquire all your pictures from iCloud. And when you're satisfied that everything has worked properly, you can delete the Library on OneDrive.


Let us know how it goes, and if you have questions....



Mar 23, 2024 8:24 AM in response to Lemonsanni

Lemonsanni wrote: Hey! Thank you for your reply. Do you mean in the Launchpad? I tried that, but it simply opens the Photos app.

I never use Launchpad, so I hadn't realized that "option" does something different, there. Apparently Launchpad only launches. You can option-click Photos in the dock that runs along the bottom (or for me, along the side), or you can open the Applications folder and find the Photos icon there. While in OndeDrive, the Photos Library is useless to anyone.


If your are switching to Windows, then the photoslibrary will be useless on that computer -- it has to work with the Mac app Photos. The iPhone will still work with iCloud Photos.


So, you have two options: you can go ahead and create the Library on the Mac using the procedure we talked about, maybe using an external hard drive if space is a problem. Then you could have Photos export all the original pictures to Finder folders. (File>Export>Export Unmodified Original) You can transfer these to Windows, later. And if you have added editing or cropping or captioning to the pictures, then you need to also export the edited versions. (File>Export>Export nn Photos) to folders for transfer to Windows.


Another option is to download the pictures directly from iCloud.com to an external drive. You can do that on the Mac, or you can do it in Windows. But downloading from iCloud gets you the edited versions, which is probably fine.


I hope this helps get you there...

Mar 21, 2024 7:56 AM in response to Lemonsanni

I have never used OneDrive, but usually it will not be possible to enable iCloud Photos while the local copy of your Photos Library is stored in a Cloud server like Google Drive, iCloud Drive, or One Drive. See: Move your Photos library to save space on your Mac - Apple Support

You will need to copy your Photos Library to a locally mounted drive, before you can open it in Photos. If you cannot copy it back from One Drive, you should restore it from a backup copy.


Do you have a backup copy of your Photos Library somewhere, perhaps as part of a Time Machine backup?


Mar 22, 2024 1:10 PM in response to Richard.Taylor

Hey! Thank you for your reply.

I'd really like to try this, but I am already failing at the first step (option-clicking the Photos icon). Could you explain it a bit further? Do you mean in the Launchpad? I tried that, but it simply opens the Photos app.



Actually, I already am using iCloud and all my pictures are stored in there. My worry is that when i delete .photoslibrary in OneDrive, that it deletes the pictures in iCloud as well.


The reason why this is currently a prolem for me is that I'd like to use a windows laptop again from now on (my macbook is dying). But because I want OneDrive to work properly on my new laptop, I somehow need to get this file out of there, without losing my pictures. So in that sense, the pictures don't even have to be on my macbook again, as long as I can move the .photoslibrary file out of OneDrive or delete it without losing anything in iCloud.

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.

Will deleting the photoslibrary on my Macbook also delete the pictures on my iphone?

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