I have a large Photos library with approximately 100+ folders in My Album. I have set System Preferences Desktop to use my complete Photos library as source for wallpaper.
Occasionally I have a desktop wallpaper I would like to find the original Photos picture and folder in My Albums where it is located.
Earlier, in this forum, I found this command:
osascript -e 'tell app "finder" to get posix path of (get desktop picture as alias)' /Users/snaguru/Pictures/Photos Library.photoslibrary/Masters/2013/09/29/20130929-164330/P1010004.JPG
When I search in Photos for P1010004.JPG I get displayed 16 pictures, none of which is the specific pictures used as wallpaper I am interested in. I have tried to use some parts of this path name to search in Photos but come up with a Not Found response.
Is there a way to find out the exact location in Photos (My Albums and sub-folder/sub-directory) of the original picture used as the wallpaper?