Skip to content

Is there attribute that shows date when photo was added to Photos app? #438

Answered by RhetTbull
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

@Hafur there's not currently a way to access the date added. It won't be hard to to do this so I'll add it to the to-do list. The relevant data appears to be in ZGENERICASSET.ZADDEDDATE but I'll have to do some testing to confirm.

However, for your use case, osxphotos export --update may get you close. --update exports only the photos not previously exported, thus if you run this every day, it would only export those photos added the previous day.

Note --update stores state information about the backup / export in a file called .osxphotos_export.db in the export directory. So this approach only works if you're nightly backups are all in the same directory.

Replies: 4 comments 12 replies

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected
Comment options

You must be logged in to vote
11 replies
@RhetTbull
Comment options

@ghost
Comment options

@RhetTbull
Comment options

@RhetTbull
Comment options

@ghost
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant