# Moving an Apple Photos library ## Compatibility and scope Apple supports APFS and Mac OS Extended (Journaled) for a working Photos library. ExFAT is suitable for ordinary exported media, not the active library. A Finder export of JPEG/video files is not a substitute for the package's albums, edits and database. Do not store the active library on a Time Machine backup device or a network/cloud share. Refresh Apple's requirements before acting. ## User-guided sequence 1. Quit Photos with Command-Q. 2. Locate the currently used library. The usual location is `~/Pictures`, but names and locations vary. If several libraries exist, use Photos settings to identify the active one rather than choosing the first or largest package. 3. Copy the complete `.photoslibrary` package to the Mac-formatted external volume; do not open or recursively inspect its contents. Retain the source. Wait for Finder to finish and keep the disk connected. 4. Hold Option while launching Photos, choose Other Library, and select the external copy. 5. Confirm Photos settings show the external location. Use Settings → General → Use as System Photo Library when the library should serve iCloud Photos and system photo pickers; a disabled button can mean it is already the system library. 6. Ask the user to check representative old/new photos, videos, albums and edits. These checks belong to the user when private media is off-limits to agents. 7. If iCloud Photos is enabled, examine the intended sync/download settings with the user. Optimize Mac Storage can leave originals in iCloud; copying the package does not guarantee an offline original of every item. Download Originals to this Mac may require additional space and time in the selected external library. 8. Explain that deleting photos *inside* an iCloud-connected Photos library is different from deleting the old, inactive library package in Finder and may propagate deletions through iCloud. Do not give these as interchangeable cleanup methods. 9. Discuss source removal only after the external library works and backup coverage is understood. The only remaining external copy is primary storage, not an independent backup. Obtain separate authorization and respect the current deletion policy. 10. Keep the external volume connected before launching Photos. Missing storage may result in Photos using or creating a different local library. ## Verification limits under macOS privacy protection Check the actual permission result rather than assuming TCC always denies access. If inspection returns `Operation not permitted`, report that verification was blocked; do not bypass privacy controls or recursively inspect the destination instead. Suppressed errors followed by a zero file count are not proof of an empty or absent library. Use permitted volume metadata and user-operated application checks, and state plainly when byte-level equivalence remains unverified. Destination size, original-file count and expected package directories cannot prove completeness or integrity. Before discussing source deletion, verify the active library's external location. An enabled `Use as System Photo Library` button matters when system/iCloud integration is intended; it does not by itself prove that a standalone library is incomplete or damaged. Inspect the actual screenshot before describing its controls. After the user reports deletion, distinguish their confirmation from your permitted path and free-space checks; an unreadable Trash location or unmatched shell glob cannot establish permanent deletion. ## Ejecting after relocation First move the agent's shell working directory off the external volume, for example to the user's home: a shell whose current directory is inside the library can itself block ejection. Ask the user to quit Photos and finish transfers, then use Finder Eject and eject every partition on the physical device. A connected power light need not go out; rely on successful unmount/eject, not LED state alone. If ejection is refused, inspect bounded process/open-handle metadata only when authorized; do not recursively run `lsof +D` over a disk containing excluded personal backups. A running process or open file handle does not prove active writes, nor that it is the cause of the refusal. Photos analysis and Spotlight may retain handles after the UI closes, but do not claim that every reopening restarts all analysis or give an unsupported completion estimate. Do not force-eject, kill database services, or unplug a volume still in use. The safe default is Cancel and leave it connected. If removal is necessary and normal ejection remains blocked, a normal macOS shutdown followed by disconnection once shutdown finishes avoids racing services that can reopen the disk after a restart. Never guarantee that restarting will make the next eject succeed, and never call a single-copy archive safe merely because it still exists. ## Sources https://support.apple.com/en-us/108345 https://support.apple.com/guide/disk-utility/file-system-formats-dsku19ed921c/mac