Skip to main content

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

Script to Find variants or Images not in a User Collection

Comments

1 comment

  • Christopher Crim

    Thank you for this script, Erik!  I'm writing this to thank you and hopefully help others find this script by commenting about it here.

    While working through the last of my latest trip albums yesterday, I went to empty the catalog trash and was very confused to find it empty.  With a bit of investigation I discovered that for some time now I have not been actually deleting images from my albums with my long-accustomed cmd-delete shortcut but just removing them, leaving them orphaned among the 19,000 other images in this particular library alone.  Cmd-delete is just "Remove Variant"?  Wait, what? How long has this been true, how long have I been not deleting images?  But I remember doing empty trash occasionally... was I confusing this memory with Final Cut Pro or Apple Photos or Aperture long ago?

    Anyway, I then proceeded to try to find a way to filter the images in the library to select all those not in any album and was frustrated to find that there is no such filter criteria available in Capture One.  (Really?!) I started searching the web for a solution and came across some discussion threads of folks asking for similar behavior and being chastised for it as being a ridiculously unnecessary feature.  (sigh). Anyway, I eventually found your older script that sounded like it might help. Yay!  I did some browsing through this subforum to see if there were any other suggested solutions and came across this apparently improved version of your script.

    I ran the script configured to find images and it found 1089 orphans and after confirming that they were indeed originally meant to be deleted, went to move them to the trash.  I then got this unexpected warning that there were some images with variants still in albums and that those would be removed too.  No!  So I ran the script again but configured for variants but it also found 1089 orphans.  I then proceeded to delete photos in batches to find these troublesome variants.  In the end it turned out to be just one variant.  I'm confused as to why trying to delete that should want to delete the other variant still in an album.  However, I found what album it came from, moved it back and then moved it to the trash from there successfully.  (Weird.)

    Regarding my confusion over the keyboard shortcut, I finally figured out that I lost my long-taken-for-granted custom cmd-delete shortcut I had put on "Move to Catalog Trash" (to match the other photo/video collection editing apps I've used) when I got a new computer late last year.  D'oh!  (And for anyone looking to edit shortcuts, it's "Edit Keyboard Shortcuts" under the Edit menu – not in the Settings panels.)

    Anyway... thanks again, Erik!

    0

Please sign in to leave a comment.