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 copy command to copy photos from one library to another #938

Open
RhetTbull opened this issue Jan 20, 2023 · 2 comments
Open
Labels
cli Pertains to the command line interface feature request New feature or request

Comments

@RhetTbull
Copy link
Owner

This could be a new library or existing one.

  • option to preserve all metadata or only select metadata. (--set / --clear [all, title, description, location, keywords, albums])
  • option to use exiftool on exported photos before copying to update (--exiftool)
@RhetTbull RhetTbull added feature request New feature or request cli Pertains to the command line interface labels Jan 20, 2023
@RhetTbull
Copy link
Owner Author

In order to use a --download-missing option, the copy must be two steps: export all photos with metadata sidecars or db then switch libraries and import. Should this be the default? If there are no missing photos, it could be done in one step by switching to the target library at start then using osxphotos to read the source library.

@RhetTbull
Copy link
Owner Author

I've figured out enough of the PhotoKit private APIs to make this work without using AppleScript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Pertains to the command line interface feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant