Grumpy4u

Q: Is there a way to do batch changes in Photos (like we could in iPhoto)?

I made heavy use of the Batch change command in iPhoto.

Now that I'm in Photos, how can I get the same results?

Specifically the Batch change of title....

Mac Pro, OS X Yosemite (10.10.3)

Posted on Apr 11, 2015 9:47 PM

Close

Q: Is there a way to do batch changes in Photos (like we could in iPhoto)?

  • All replies
  • Helpful answers

first Previous Page 4 of 6 last Next
  • by Grumpy4u,

    Grumpy4u Grumpy4u Apr 18, 2015 12:14 PM in response to Grumpy4u
    Level 1 (4 points)
    iLife
    Apr 18, 2015 12:14 PM in response to Grumpy4u

    Another point of possible issue. I DO NOT use iCloud for photo storage.

    All Photo preferences for iCloud, are unchecked.

     

    My photo library is 32000 photos, running about 82GB.

    My iPhoto library (of same pics) exceeded 112GB.

  • by R C-R,

    R C-R R C-R Apr 18, 2015 12:40 PM in response to Grumpy4u
    Level 6 (17,660 points)
    Apr 18, 2015 12:40 PM in response to Grumpy4u

    Grumpy4u wrote:

    ACL settings? where/how do I check?

    You can use the @ switch with the l (el, not the number) one for that, like this:

     

    ls -l@ <path to folder here>

  • by Jay Deitch,

    Jay Deitch Jay Deitch Apr 18, 2015 4:21 PM in response to R C-R
    Level 2 (215 points)
    Mac OS X
    Apr 18, 2015 4:21 PM in response to R C-R

    Here are the Console messages I get when I run the script.  The two at 6:16:49 are when the script is launched, the ones at 6:17:12 are after I enter the text to be used for the title and press Enter:

     

    4/18/15 6:16:49.054 PM Automator Runner[2691]: -[AMApplicationRegistry loadDefinitionAtURL:]: No application name for definition at URL file:///Library/Automator/Office.definition/

    4/18/15 6:16:49.054 PM Automator Runner[2691]: -[AMApplicationRegistry _loadDefinitionsAtURLS:]: Failed to load definition at URL file:///Library/Automator/Office.definition/

    4/18/15 6:17:12.289 PM Photos[2680]: An exception was thrown during execution of an NSScriptCommand...

    4/18/15 6:17:12.289 PM Photos[2680]: *** -[__NSArrayM objectAtIndex:]: index 48243 beyond bounds for empty array

    4/18/15 6:17:12.617 PM WorkflowServiceRunner[2690]: WorkflowServiceRunner received error running Workflow Service at /Users/Jay/Library/Services/BatchChangeTitles.workflow: The action “Run AppleScript” encountered an error.

  • by Grumpy4u,

    Grumpy4u Grumpy4u Apr 18, 2015 9:09 PM in response to R C-R
    Level 1 (4 points)
    iLife
    Apr 18, 2015 9:09 PM in response to R C-R

    Ok,  I executed a ls -l@

    and I got:

     

    3369181 Photos Library.photoslibrary

    4423411 Test Photos Library.photoslibrary

    669992 iPhoto Library.migratedphotolibrary

     

    What does it mean?

  • by jwatne,

    jwatne jwatne Apr 19, 2015 12:10 AM in response to léonie
    Level 1 (0 points)
    Apr 19, 2015 12:10 AM in response to léonie

    This is just what I was looking for. Thank you very much!

  • by Grumpy4u,

    Grumpy4u Grumpy4u Apr 19, 2015 7:00 AM in response to Old Toad
    Level 1 (4 points)
    iLife
    Apr 19, 2015 7:00 AM in response to Old Toad

    to Old Toad...

    reading thru this thread, as well as a few others in the last week, there are a number of people having the same problem as me.

    What works on a "test" library does not work on my system library.

     

    Is there anyway to elevate this to someone at Apple? It really seems to be a Version 1.0 issue of Photos.

  • by Old Toad,

    Old Toad Old Toad Apr 19, 2015 9:38 AM in response to Grumpy4u
    Level 10 (141,090 points)
    Mac OS X
    Apr 19, 2015 9:38 AM in response to Grumpy4u

    Have you tired repairing your system photo library?  Launch Photos with the Command+Option keys held down and run the repair.

     

    Otherwise all we can do is ask Apple for this feature  via https://www.apple.com/feedback/photos.html

  • by Jay Deitch,

    Jay Deitch Jay Deitch Apr 19, 2015 10:52 AM in response to Old Toad
    Level 2 (215 points)
    Mac OS X
    Apr 19, 2015 10:52 AM in response to Old Toad

    Repairing the Photos library didn't fix my batch change problem.

    Jay

  • by Old Toad,

    Old Toad Old Toad Apr 19, 2015 11:54 AM in response to Jay Deitch
    Level 10 (141,090 points)
    Mac OS X
    Apr 19, 2015 11:54 AM in response to Jay Deitch

    If you have  iPhoto 9.6.1 and can run it on your original iPhoto library here's something you can try:

     

    1 - run the First Aid (launch with the Option+Command keys held down) and run Options #1, #2 and #4.

    2 - launch Photos with the Option key held down and cover the "fixed" iPhoto Library.

    3 - test the batch change title script again.

  • by Jay Deitch,

    Jay Deitch Jay Deitch Apr 19, 2015 3:17 PM in response to Old Toad
    Level 2 (215 points)
    Mac OS X
    Apr 19, 2015 3:17 PM in response to Old Toad

    Hi,

     

    I did all that and still get the message "The action 'Run AppleScript' encountered and error."  I also tried the script on my laptop (MB Air) except instead of copying the script from this thread, I typed it all in directly - same result.  Very strange.

     

    Thanks for your help,

    Jay

  • by Jay Deitch,

    Jay Deitch Jay Deitch Apr 22, 2015 1:22 PM in response to Jay Deitch
    Level 2 (215 points)
    Mac OS X
    Apr 22, 2015 1:22 PM in response to Jay Deitch

    Still trying to get this to run.  Does anyone know about sandbox extensions?  Here is part of the Console log when the error occurs:

     

    4/22/15 3:16:19.077 PM Photos[789]: __CFPasteboardIssueSandboxExtensionForPath : sandbox extension creation failed: client lacks entitlements? for path: [/Users/Jay/Library/Services/Batch Change Titles.workflow]

    4/22/15 3:16:19.077 PM Photos[789]: __CFPasteboardCreateSandboxExtensionDataFromCFData : failed to obtain sandbox extension data for url [file:///Users/Jay/Library/Services/Batch%20Change%20Titles.workflow/]

    4/22/15 3:16:19.086 PM sandboxd[177]: ([789]) Photos(789) deny file-issue-extension /Users/Jay/Library/Services/Batch Change Titles.workflow

    4/22/15 3:16:19.089 PM Finder[224]: No valid sandbox extension for item: [789514] of flavor: [public.file-url] was created.

    4/22/15 3:16:19.089 PM Finder[224]: Failed to get a sandbox extensions for itemIdentifier (789514).  The data for the sandbox extension was NULL

    4/22/15 3:16:19.139 PM sandboxd[177]: ([789]) Photos(789) deny file-issue-extension /Users/Jay/Library/Services/Batch Change Titles.workflow

    4/22/15 3:16:19.141 PM com.apple.xpc.launchd[1]: (com.apple.quicklook[849]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook

    4/22/15 3:16:20.338 PM sandboxd[177]: ([851]) QuickLookUIHelpe(851) deny file-read-data /Users/Jay/Library/Services/Batch Change Titles.workflow

     

    Thanks,

    Jay

  • by Old Toad,

    Old Toad Old Toad Apr 22, 2015 3:37 PM in response to Jay Deitch
    Level 10 (141,090 points)
    Mac OS X
    Apr 22, 2015 3:37 PM in response to Jay Deitch

    To get it to run with sandboxing enabled just Control (right) - click on the app and select Open from the contextual menu. From then on it will open normally.

  • by Jay Deitch,

    Jay Deitch Jay Deitch Apr 22, 2015 4:53 PM in response to Old Toad
    Level 2 (215 points)
    Mac OS X
    Apr 22, 2015 4:53 PM in response to Old Toad

    Thanks Old Toad,

     

    I opened Photos from the contextual menu, selected a few photos and tried the script from the Services menu. I entered in the new title and then got the same error message.  Now the Console shows:

     

    4/22/15 6:47:16.988 PM Photos[1188]: An exception was thrown during execution of an NSScriptCommand...

    4/22/15 6:47:16.989 PM Photos[1188]: *** -[__NSArrayM objectAtIndex:]: index 16693 beyond bounds for empty array

     

    Thanks,

    Jay

  • by YahMonMan,

    YahMonMan YahMonMan Apr 24, 2015 9:00 AM in response to Grumpy4u
    Level 1 (5 points)
    Apr 24, 2015 9:00 AM in response to Grumpy4u

    No, you can't.  HOWEVER, IPHOTO SHOULD STILL BE IN YOUR APPLICATIONS FOLDER!!!

     

    I am very annoyed that the OS update made it appear that my iPhoto (which I purchased with iLife11) was arbitrarily and totally swapped out  and VERY annoyed that my photo library was "migrated over" (without my permission or prior notification/warning) to ONLY be compatible with Photos.  But even after the update I noted I STILL HAVE iPhoto in my Applications folder. I had to create a new iPhoto Library (Hold down OPTION when launching iPhoto and you will be prompted for the choice) and (whether I choose to export and re-import all my pictures again) all is as it was.

     

    It's okay to be miffed (I sure am) but Apple did not brazenly take iPhoto away like I had at first thought!

  • by Terence Devlin,

    Terence Devlin Terence Devlin Apr 24, 2015 10:34 AM in response to YahMonMan
    Level 10 (139,532 points)
    iLife
    Apr 24, 2015 10:34 AM in response to YahMonMan

    You didn't have to create a new Library either...

first Previous Page 4 of 6 last Next