-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --not-album ALBUM
to find photos not in a given album
#1685
Comments
Thanks @RhetTbull for working on this! Question on using --query-eval... I have an album named |
What's the full export command line you're using? |
I'll just post my entire script for clarity:
|
@petebocken I have not been able to reproduce this. I create an album "All-Photos" and added some photos then ran the same command you are using. The export worked as expected -- all albums were created with exception of "All-Photos" and all photos were exported with exception of those in "All-Photos". I will keep tinkering but I can't think of a reason at the moment for the issue you're seeing. What version of macOS are you using? If on macOS 15, there's a bug discovered today (#1687) that affects some edited photos but I don't think it would affect your use case. |
Hello. Maybe adumb question! Would it be related with pics belonging to multiple Albums?
|
I think @oPromessa may be on to something. @petebocken if your "All-Photos" album really contains all (or most) of the photos in the library then the use of However, if what you really meant was "All my photos are in 'All-Photos'. Some photos are also in one or more other albums. I want to export those albums and all the photos not in them but not the 'All-Photos' album" then that's a different problem and I don't have a full solution. One means to do this is to use a
This removes 'All-Photos' from the list of folders/albums. However, in the case where you have photos that were only in
However, we can combine this with a new
This excludes (via |
Ohhhh, I feel like such a dork. @oPromessa got it exactly. The photos that are not getting excluded and are getting exported are the ones that are not in the "All-Photos" album. So it's working exactly as expected. I just didn't know that is how it worked apparently! Some context as to why do I have an "All-Photos" album with all my photos: I can try messing with these query-eval options, but I do have enough disk space on the drive I export to, so I could just leave my script alone and not try to exclude this and just essentially have duplicates of all photos (since I already have all photos organized into albums --- I maintain all photos in albums, no photo is not in an album). So sorry for making you run in circles @RhetTbull! Guess we solved my issue! 😳 |
No worries! If all photos are in more than one album and you want to exclude the duplicates from 'All-Photos' then dropping the query eval and using this should work: |
Works perfectly, thanks so much!! |
This will simplify excluding specific albums from the export.
Alternative is to use
--query-eval " 'ALBUM' not in photo.albums"
The text was updated successfully, but these errors were encountered: