Skip to content
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 osxphotos match command #1768

Open
RhetTbull opened this issue Dec 27, 2024 · 0 comments
Open

Add osxphotos match command #1768

RhetTbull opened this issue Dec 27, 2024 · 0 comments

Comments

@RhetTbull
Copy link
Owner

RhetTbull commented Dec 27, 2024

Add a command to match a file or files on disk with assets in Photos.

New command would get fingerprint for files on disk and find assets in the library that match the asset on disk. This would be useful as an import check (like osxphotos import --check) but could also be used to run an arbitrary function. Function would be passed the path to the file on disk and a PhotoInfo object for the matching asset(s). (Or list of PhotoInfo as more than one could match)

Add options to run a command or function on matching files and a command or function on non-matching files.

See for example generate_sidecars.py which could be implanted as a user function if this command existed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant