-
All replies
-
Helpful answers
-
May 11, 2015 7:24 AM in response to isra_BCNby léonie,You can export the Moments structure as subfolders, but not the album structure.
To export each album to a separate folder you would have to export each album separately to a separate folder and name the folder on your own.
If you export selected photos using File > Export, you can create subfolders for each Moment, but not for the albums.
-
May 15, 2015 1:14 AM in response to léonieby isra_BCN,Thanks,
Bad news, In Iphoto i used an app "iphoto to jalbum" to do that. I see in Photos it is not yet included, for me a big lack which I really don't understand why it is not included.
It is not feasible to do it one by one with big volume of albums as I normally have each end of year.
So I will need to wait to some external application to cover this functionality
Regards
-
Nov 2, 2015 12:13 PM in response to isra_BCNby TomJ5000,Hi isra_BCN!
have you found a solution for exporting multiple albums in the photos app?
I'm also facing the same problem and am actually thinking of trying to write
a small utility that would allow me to export the album structure plus photos, but I'm not sure
if I can decipher the library format...
Best
Tom
-
Dec 7, 2015 3:24 AM in response to isra_BCNby cambo.mck,I'm trying to workout something similar - in that I'm trying to split up my massive photos library (300Gb) into a separate file for each year - so that I can archive some of the photos to an external drive and regain some space on my macbook. I can easily export the moments for a particular year and create a new new library, but I would like to retain the albums that were based on those same photos. My albums are also structured in years and months so it would be easy to do if photos supported it - but I haven't found a way to do it. Any thoughts?
Or is it possible with applescript or automator?
Thanks,
Cam
-
Dec 7, 2015 8:41 AM in response to isra_BCNby Jacques Rioux,★HelpfulHello,
it's possible on El Capitan:
Important: the smart albums will be included in the albums, it's not possible to exclude it.
You can use this AppleScript:
set dest to "/Users/me/Desktop/photos-Albums/" as POSIX file as text -- the destination folder (use a valid path) tell application "Photos" repeat with i in albums set tFolder to dest & (get name of i) my makeFolder(tFolder) -- create a folder named (the name of this album) in dest export (get media items of i) to (tFolder as alias) without using originals end repeat end tell on makeFolder(tPath) do shell script "mkdir -p " & quoted form of POSIX path of tPath end makeFolder
Open the "Script Editor" application in /Applications/Utilities/
Copy the AppleScript and paste into the window of the "Script Editor".
Change the path of your folder in the first line of the script (use drag/drop to get the correct path of your folder).
if you want the originals, use this --> export (get media items of i) to (tFolder as alias) with using originals
-
Dec 7, 2015 3:19 PM in response to Jacques Riouxby cambo.mck,Thanks Jacques,
I tried this script, but I got the following error:
error "Photos got an error: Can’t get every album." number -1728 from every album
I simplified the script to see if I could narrow down the problem:
tell application "Photos"
repeat with i in albums
display dialog ("Album: " & (get name of i))
end repeat
end tell
But this still had the same problem.
Any thoughts?
Cheers,
Cam
-
Dec 7, 2015 3:42 PM in response to cambo.mckby cambo.mck,EDIT: Just realised that you mentioned "El Captain" in your post, and forgot I'm still running Yosemite on my work Mac ... so I'll try this again at home tonight on ElCap.
-
Dec 18, 2015 5:56 AM in response to Jacques Riouxby TrickyRick62,Thanks Jacques. This script did exactly what I needed to do. You saved me much time in doing this manually.
-
Feb 11, 2016 11:59 AM in response to Jacques Riouxby GreLo,Thanks Jacques!
That helps a lot. Your script is almost doing what I am exactly searching for. But: is it possible to export just the selected albums?
This would be perfect!
-
Feb 12, 2016 8:29 AM in response to GreLoby Jacques Rioux,Hi,
GreLo wrote:
Your script is almost doing what I am exactly searching for. But: is it possible to export just the selected albums?
There is no AppleScript's command to get the selected albums.
Workaround, the "choose from list" command to select some names:
set dest to "/Users/myUserName/Desktop/photos-Albums/" as POSIX file as text -- the destination folder (use a valid path) tell application "Photos" activate set l to name of albums set albNames to choose from list l with prompt "Select some albums" if albNames is not false then -- not cancelled repeat with tName in albNames set tFolder to dest & tName my makeFolder(tFolder) -- create a folder named (the name of this album) in dest export (get media items of album tName) to (tFolder as alias) without using originals end repeat end if end tell on makeFolder(tPath) do shell script "mkdir -p " & quoted form of POSIX path of tPath end makeFolder
Caveat : this script may not work correctly on albums with the same name (if you select a name that is not unique).
-
Feb 18, 2016 10:01 AM in response to Jacques Riouxby Cantellolo,Thanks, actually extremely helpful as I have organised all photos in albums, not moments and I wanted to export the stored photos to perform face recognition in Picasa.
-
by Old Toad,Feb 18, 2016 12:06 PM in response to Jacques Rioux
Old Toad
Feb 18, 2016 12:06 PM
in response to Jacques Rioux
Level 10 (140,940 points)
Photos for Mac -
Feb 18, 2016 12:19 PM in response to Old Toadby léonie,Good Idea - Jaques's script is already a user tip: How to find out the albums a photo is in: Jacques Rioux's script
I posted it for him last month, but we need to add the updated version with the new features.
-
Feb 18, 2016 12:22 PM in response to léonieby Old Toad,This is a different script. It displays the albums in the library for you to pick to download to a folder on the desktop. His other script has you select a photo and it will tell you which albums it's in.