You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Photos for Mac not exporting smart albums correctly

I've added titles to image files in Photos for Mac and then used smart albums to automatically organise the images based on title. That works. The smart albums are in folder "testfolder".

Now I want to export the images by selecting the folder "testfolder" and choosing file>export> , while selecting the file Naming option "Use title".

What happens is that not all smart albums are exported and some smart album names are wrong.

Anyone know a fix for this?

PS If I make a new folder "new testfolder" and add regular (non-smart) albums there, I can drag the images of the smart albums to the regular albums. And then perform an export of the "new testfolder", then the export works fine. But that's a tedious work-around.

Posted on Sep 30, 2019 11:22 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 30, 2019 12:22 PM

Safe Boot from the HD, (holding Shift key down at bootup), does the problem occur in Safe Mode?


Safe mode attempts to repair Disks & clears lots of caches, so if Safe Mode works try again in regular boot.


Smart albums depend on Spotlight, may need to rebuild the index.


How to rebuild the Spotlight index on your Mac

If searching your Mac doesn’t return expected results, rebuilding the Spotlight index might help.


1. Choose Apple menu () > System Preferences, then click Spotlight.

2. Click the Privacy tab.

3. Drag the folder or disk that you want to index again to the list of locations that Spotlight is prevented from searching. Or click the Add (+) button and select the folder or disk to add.
To add an item to the Privacy tab, you must have ownership permissions for that item. To learn about permissions, choose Help from the Finder menu bar, then search for “permissions.”

4. From the same list of locations, select the folder or disk that you just added. Then click the Remove (–) button to remove it from the list.

5. Quit System Preferences. Spotlight will reindex the contents of the folder or disk.


Manually Rebuilding Spotlight via Terminal

If the aforementioned Spotlight control panel approach doesn’t spur a reindexation of the drive, you may need to initiate it manually through the command line. Open Terminal and use the following command string to do so:


sudo mdutil -E /

This basically asks for temporary super user status, which is why Terminal may ask you for your password (it may not if you’ve used a sudo command recently or are already logged in as a super user or root. The command asks the unix tool mdutil to reindex the spotlight database for everything on the computer, including external drives, mounted disk images, etc. To re-index only for a specific drive, use the /Volumes path. For example, for an external drive named “MiniMe,” the command would look like this:


sudo mdutil -i on /


Rebuilding a drive index can take a long time, so be prepared to wait whether you do it through the System Preference panel or the command line.

Similar questions

3 replies
Question marked as Top-ranking reply

Sep 30, 2019 12:22 PM in response to pkrpkr

Safe Boot from the HD, (holding Shift key down at bootup), does the problem occur in Safe Mode?


Safe mode attempts to repair Disks & clears lots of caches, so if Safe Mode works try again in regular boot.


Smart albums depend on Spotlight, may need to rebuild the index.


How to rebuild the Spotlight index on your Mac

If searching your Mac doesn’t return expected results, rebuilding the Spotlight index might help.


1. Choose Apple menu () > System Preferences, then click Spotlight.

2. Click the Privacy tab.

3. Drag the folder or disk that you want to index again to the list of locations that Spotlight is prevented from searching. Or click the Add (+) button and select the folder or disk to add.
To add an item to the Privacy tab, you must have ownership permissions for that item. To learn about permissions, choose Help from the Finder menu bar, then search for “permissions.”

4. From the same list of locations, select the folder or disk that you just added. Then click the Remove (–) button to remove it from the list.

5. Quit System Preferences. Spotlight will reindex the contents of the folder or disk.


Manually Rebuilding Spotlight via Terminal

If the aforementioned Spotlight control panel approach doesn’t spur a reindexation of the drive, you may need to initiate it manually through the command line. Open Terminal and use the following command string to do so:


sudo mdutil -E /

This basically asks for temporary super user status, which is why Terminal may ask you for your password (it may not if you’ve used a sudo command recently or are already logged in as a super user or root. The command asks the unix tool mdutil to reindex the spotlight database for everything on the computer, including external drives, mounted disk images, etc. To re-index only for a specific drive, use the /Volumes path. For example, for an external drive named “MiniMe,” the command would look like this:


sudo mdutil -i on /


Rebuilding a drive index can take a long time, so be prepared to wait whether you do it through the System Preference panel or the command line.

Photos for Mac not exporting smart albums correctly

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