你有没有想过Apple Photos在你的(where Apple Photos)Mac上存储照片的位置?您很可能拥有这些照片,因为这些照片在您的系统中无法作为常规文件找到。
您无法将照片(Photos)应用程序照片作为普通文件访问的原因是它们存储在库文件中。这些文件不像普通文件夹那样工作,因此您无法直接访问它们来查看您的照片。
但是,有一些方法可以访问这些库的内容,将这些Apple 照片(Apple Photos)库移动到其他位置,例如移动到外部驱动器,甚至更改和创建新库。
Apple 照片库位置(Apple Photos Library Location)
除非您或其他人更改了路径,否则您会在(changed the path)Mac上的以下路径中找到Apple 照片(Apple Photos)库。您需要将用户名替换为您的用户名才能访问该库。
/Users/<username>/Pictures/
您将在该文件夹中看到一个名为“照片库”的项目。(Photos Library)那是您的图像的照片(Photos)应用程序库,也是存储Apple照片的地方。(Apple)它包含您在“照片(Photos)”应用中看到的整个照片集。
如何从 Apple 照片库中备份照片(How To Backup Photos From An Apple Photos Library)
从Apple 照片(Apple Photos)库中导出照片的一种方法是使用照片(Photos)应用程序本身。有一个选项可让您将照片从图库导出到(export photos from your library)Mac或外部驱动器上的任何位置。
但是,如果您出于某种原因不想走这条路,还有另一种方法可以查看和备份Apple 照片(Apple Photos)库中的某些照片。此方法根本不需要您打开照片(Photos)应用程序。
- 使用Finder(Finder)前往以下路径以访问您的Apple 照片(Apple Photos)库。
/Users/<username>/Pictures/
- 不要双击库,否则它最终会在照片(Photos)应用程序中打开。相反,右键单击它并选择显示包内容(Show Package Contents)的选项。它可以让您查看图书馆内的内容。
- 您会在库文件中找到几个文件夹。找到显示Masters的文件夹,然后双击打开它。
- 您会看到用于照片的各种文件夹。这些是存储库照片的文件夹,您可以打开其中任何一个来访问和查看照片。
- 当您找到要备份的一张或多张照片时,右键单击它们并选择复制(Copy)。
- 打开要保存照片的文件夹,右键单击空白处,然后选择粘贴(Paste) 项目(Item)。
此方法可让您将Apple 照片(Apple Photos)库图像用作Mac上的常规文件。
更改 Apple 照片库位置(Change The Apple Photos Library Location)
如果您的照片库在 Mac 上占用过多的内存空间(consuming too much memory space on your Mac),您可以将其移至外部驱动器并节省您机器上的空间。您的图书馆将继续像现在一样工作。
您还可以使用此方法将库从Mac上的一个文件夹移至另一个文件夹。(Mac)
- 在Mac(Mac)上的以下位置访问您的Apple 照片(Apple Photos)图库。/Users/<username>/Pictures/
- 右键单击(Right-click)名为Photos Library的库文件,然后选择Copy Photos Library。
- 在Mac(Mac)或外部硬盘驱动器上导航到要将库移动到的文件夹,右键单击屏幕上的空白处,然后选择粘贴项目(Paste Item)。
- 完全复制库后,双击此复制的库文件,它将在照片(Photos)应用程序中打开。该应用程序现在知道您已更改库的位置,这将反映在应用程序首选项面板中。
- 一旦您确认一切都适用于新移动的库,您就可以摆脱旧的库文件。使用 Mac 上的Finder(Finder)前往以下文件夹。
/Users/<username>/Pictures/
- 找到您的库文件,右键单击它,然后选择Move to Trash。
- 右键单击垃圾箱(Trash)图标并选择清空垃圾箱(Empty Trash)以永久删除重复的库。
在 Apple 照片中使用其他库(Use Other Libraries In Apple Photos)
Apple Photos让您可以自由地打开和使用Mac或其他驱动器上的任何资料库。您唯一需要做的就是在启动照片(Photos)应用程序时选择要打开的库,仅此而已。
- 单击Dock 中的Launchpad并搜索照片(Photos)应用程序。暂时(Don)不要启动应用程序。
- 按住键盘上的Option键,然后单击应用程序。
- 您将收到一个提示,询问您想使用该应用打开哪个库。单击显示(Click)其他库(Other Library)的按钮以选择要在应用程序中加载的库。
- 选择位于Mac或外部硬盘驱动器上的库文件,它将在“照片(Photos)”应用程序中打开。
在 Apple Photos 中创建新图库(Create a New Library In Apple Photos)
有时您可能会遇到Apple Photos应用程序拒绝加载您的默认图库的问题。这可能由于各种原因而发生,但一个常见的原因是您的库文件已损坏(file is corrupt)。
如果发生这种情况,您可以创建一个新库并让应用程序成功启动。
- 按住键盘上的Option键,然后单击 Launchpad 中的照片(Photos)应用程序将其打开。
- 单击“新建”(Create New)按钮为您的照片创建一个全新的库。
- 在以下屏幕上,在“另存为”框中输入库的名称,从“位置”下拉菜单(Save As)中(Where)选择要保存库的文件夹,最后单击“确定(OK)”以创建库。
在 Apple Photos 中定义指定的系统库(Define a Designated System Library In Apple Photos)
要使用iCloud 照片(iCloud Photos)、共享相册(Shared Albums)和我的照片流(My Photo Stream)等功能,您需要在Apple Photos应用程序中定义一个指定的系统库。如果您不这样做并尝试访问这些功能,您将收到如下所示的消息。
好消息是您可以将任何一个库设为默认系统库。
- 按住键盘上的Option键,然后单击照片(Photos)应用程序。
- 选择您要设为默认库的辅助库,然后单击选择库(Choose Library)。您选择的图书馆将在应用程序中打开。
- 单击屏幕左上角的“照片”菜单,然后选择“首选项”(Photos)选项(Preferences)。
- 如果您还没有,请单击顶部的“常规”选项卡。(General)
- 您会找到一个按钮,上面写着Use as System Photo Library。单击(Click)它,它将使您当前的库成为照片(Photos)应用程序的默认系统库。
既然您知道Apple 照片(Apple Photos)的存储位置,那么您打算如何处理照片?您会将它们移动到新位置,例如外部硬盘驱动器或云存储(cloud storage)吗?我们很想知道下面的评论。
Where Are Apple Photos Stored?
Have you ever wondered where Apple Photos stores photos on your Mac? You most likely have, as these photos are nowhere to be found on your system as regular files.
The reason you can’t access the Photos app photos as normal files is that they’re stored inside a library file. These files don’t work like regular folders, so you can’t directly access them to view your photos.
However, there are ways to access the contents of these libraries, move these Apple Photos libraries to other locations such as to an external drive, and even change and create new libraries.
Apple Photos Library Location
Unless you or someone else has changed the path, you’ll find the Apple Photos library on the following path on your Mac. You need to replace the username with your username to access the library.
/Users/<username>/Pictures/
You’ll see an item named Photos Library in that folder. That’s the Photos app library for your images and that’s where Apple photos are stored. It contains the entire photo collection that you see in the Photos app.
How To Backup Photos From An Apple Photos Library
One of the ways to export photos from an Apple Photos library is to use the Photos app itself. There’s an option that lets you export photos from your library to any location on your Mac or external drive.
However, if you don’t want to go that path for some reason, there’s another way to view and backup certain photos from your Apple Photos library. This method doesn’t require you to open the Photos app at all.
- Head over to the following path using the Finder to access your Apple Photos library.
/Users/<username>/Pictures/
- Don’t double-click on the library or it’ll end up opening in the Photos app. Instead, right-click on it and select the option that says Show Package Contents. It’ll let you view what’s inside the library.
- You’ll find several folders inside the library file. Find the folder that says Masters and double-click to open it.
- You’ll see various folders for your photos. These are the folders where your library photos are stored and you can open any of these to access and view your photos.
- When you find the photo or photos that you want to backup, right-click on them and select Copy.
- Open the folder where you want to save the photo, right-click anywhere blank, and select Paste Item.
This method lets you use the Apple Photos library images as regular files on your Mac.
Change The Apple Photos Library Location
If your Photos library is consuming too much memory space on your Mac, you can move it to an external drive and save space on your machine. Your library will continue to work as it currently does.
You can also remove the library from one folder to another on your Mac with this method.
- Access your Apple Photos library at the following location on your Mac.
/Users/<username>/Pictures/
- Right-click on the library file called Photos Library and select Copy Photos Library.
- Navigate to the folder where you want to move your library to either on your Mac or your external hard drive, right-click anywhere blank on your screen, and choose Paste Item.
- Once the library is fully copied, double-click on this copied library file and it’ll open in the Photos app. The app now knows you’ve changed the location of your library and this will reflect in the app preferences panel.
- Once you’ve confirmed everything works with the newly moved library, you can get rid of the old library file. Head to the following folder using the Finder on your Mac.
/Users/<username>/Pictures/
- Find your library file, right-click on it, and choose Move to Trash.
- Right-click on the Trash icon and choose Empty Trash to get rid of the duplicate library for good.
Use Other Libraries In Apple Photos
Apple Photos gives you the freedom to open and work with any library on your Mac or other drives. The only thing you need to do is select the library you want to open while launching the Photos app and that’s all.
- Click on Launchpad in the Dock and search for the Photos app. Don’t launch the app just yet.
- Press and hold down the Option key on your keyboard and click on the app.
- You’ll get a prompt asking what library you’d like to open with the app. Click on the button that says Other Library to choose a library to load in the app.
- Select the library file wherever it’s located on your Mac or external hard drive and it’ll open in the Photos app.
Create a New Library In Apple Photos
Sometimes you may run into an issue where the Apple Photos app refuses to load your default library. This may happen due to various reasons, but one common reason is your library file is corrupt.
If that ever happens, you can create a new library and get the app to launch successfully.
- Press and hold down the Option key on your keyboard and click on the Photos app in Launchpad to open it.
- Click on the Create New button to create a completely new library for your photos.
- On the following screen, enter a name for your library in the Save As box, select a folder where you want to save the library from the Where dropdown menu, and finally click on OK to create the library.
Define a Designated System Library In Apple Photos
To use features like iCloud Photos, Shared Albums, and My Photo Stream, you need to define a designated system library in the Apple Photos app. If you don’t do that and you try to access these features, you’ll get a message that looks like the following.
The good thing is you can make any one of your libraries the default system library.
- Press and hold down the Option key on your keyboard and click on the Photos app.
- Select the secondary library that you’d like to make the default library and click on Choose Library. Your chosen library will open in the app.
- Click on the Photos menu at the top-left corner of your screen and select the option that says Preferences.
- Click on the General tab at the top if you aren’t already there.
- You’ll find a button that says Use as System Photo Library. Click on it and it’ll make your current library the default system library for the Photos app.
Now that you know where Apple Photos are stored, what are you planning to do with your photos? Will you move them to a new location such as an external hard drive or cloud storage? We’re curious to know in the comments below.