Use Terminal To Move Photo Library Mac

  

MacUpdate
MacUpdate.com uses cookies. Some of these cookies are essential, while others improve your experience by providing insights into how MacUpdate is being used. If you’re looking for more info on our cookie usage, explore our Privacy Policy or the privacy settings in your .

5) The main library needs to be the System Photo Library. If needed, click the Use as System Photo Library button. If it’s already the System Photo Library, the button will be dimmed. 6) Select the iCloud tab. 7) Place a checkmark in the iCloud Photo Library box. 8) Make sure the option to Download Originals to this Mac is selected.

  1. Select 'Photos' in the Library (left column), but don't select any single photo - leave all unselected. Then choose FileExport. The number of ';items" (photos and video clips) appears in the dialog in the lower left corner, so you know how many y.
  2. Allow the Library to sync. This can take a while, so if you've got things to do away from your Mac, set your machine to not go to sleep (System Preferences Display Screen to Never).
  3. Best Balance Transfer Credit Cards. Using the Photos library repair tool. Depending on the size of the photos library and the speed of the Mac being used, this could take a few hours.

MacUpdate.com uses cookies.

Some of these cookies are essential, while others improve your experience by providing insights into how MacUpdate is being used. If you’re looking for more info on our cookie usage and you like a dry read, explore our Privacy Policy.

Necessary Cookies

Necessary cookies enable the core functionality of MacUpdate.com. The website cannot function properly without these cookies, and can only be disabled by changing your browser preferences.

Analytical Cookies

Analytical cookies help us improve our website by collecting and reporting information on its usage.

Google Analytics

Hotjar

Advertising Cookies

Advertising cookies are used to create a personalized browsing experience for you.

Google AdSense (not personal data)

Google Publisher Tags (not personal data)

Use terminal to move photo library macbook

DoubleClick Ad Exchange-Buyer

It’s easy from the perch of writing the Mac 911 column to appear as if I have all the answer. Dear readers, I do not. I am always delighted to research on your behalf, but sometimes problems fall into my lap that I know will help you all, because I’m unable to find a ready solution and nobody in any forum or on any blog has found an answer, sometimes across many years.

Use Terminal To Move Photo Library Mac

Photos for macOS is a bugbear for many of you, one of the most regular sources of questions. But I encountered a sync problem that no one has written in about, yet I can find a history of frustrated people across the Internet trying to solve it. I did find a solution—but you might not like it!

My problem emerged a few weeks ago, when I noticed that Photos for macOS on my office computer, an iMac running Mojave, was out of date. I checked my laptop Mac, my iPhone, and iCloud.com: photos were synced and up to date in each of those locations.

This has happened before, and I go through a series of escalating troubleshooting steps:

  1. Quit Photos and re-launch it.
  2. Using the Terminal to “kill” certain Photos-related background agents and jobs. (This is a little tweaky and can cause problems, so I hesitate to recommend it. In any case, it didn’t help.)
  3. Restart my Mac.
  4. Rebuild the Photos database by holding down Command-Option while launching the app and following prompts.
  5. Disabling iCloud Photos and re-enabling it in Photos > Preferences > iCloud. This can force a re-sync, though often it’s relatively fast as Photos and iCloud seem to bypass pictures that are in both places.

None of this worked. After reading years’ worth of posts of people trying to overcome the problem, I tried one suggestion: deleting a deeply nested folder in the Photos library that tracks iCloud synchronization.

Warning! Apple doesn’t advise making these kinds of low-level changes. I strongly recommend making a full backup of your Photos library, if not a fresh full clone of your drive or forcing a Time Machine update, before proceeding.

Find your Photos library and Control-click it, and then select Show Package Contents. Now traverse down to:

private/com.apple.cloudphotosd/CloudSync.noindex

Export Mac Photos Library

With Photos not running, I deleted the contents of this folder, which required entering an administrative password. I then-relaunched Photos.

Photos and iCloud apparently had a behind-the-scenes confab and decided my copy of Photos had never synced with iCloud at all. This led Photos on my Mac to re-upload about 45,000 images and videos, even though they were identical in my library at iCloud.com.

Fortunately, I have gigabit Internet service with no cap on usage and no overage fee. (The local legacy wired telephone company has rolled out fiber like mad and charges a relatively low amount for it—even less than slower service via a cable ISP.)

Mac Photo Library Files

If you have more normal broadband service, even in the 50Mbps to 100Mbps range, or get throttled, blocked, or charged overage fees above a certain amount of monthly data, this won’t seem like a good solution to you at all. (Although during the pandemic, a number of ISPs with home broadband service have removed caps and overage charges, including AT&T and Comcast.)

Apple Photo Library

The resync took about two days and showed steady progress. At the end, all my media remained in exactly the same state, but my Mac’s Photos library was finally up to date with other devices in its iCloud account set.

Ask Mac 911

We’ve compiled a list of the questions we get asked most frequently along with answers and links to columns: read our super FAQ to see if your question is covered. If not, we’re always looking for new problems to solve! Email yours to mac911@macworld.com including screen captures as appropriate, and whether you want your full name used. Not every question will be answered, we don’t reply to email, and we cannot provide direct troubleshooting advice.

Note: When you purchase something after clicking links in our articles, we may earn a small commission. Read ouraffiliate link policyfor more details.

Use Terminal To Move Photo Library Mac

    Related:
Glenn Fleishman is the author of dozens of books. His most recent include Take Control of Your M-Series Mac, Take Control of Securing Your Mac, Take Control of Zoom, and Six Centuries of Type and Printing. In his spare time, he makes Tiny Type Museums. He’s a senior contributor to Macworld, where he writes Mac 911.