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

-i does not work as expected on sync command #1702

Open
RhetTbull opened this issue Oct 3, 2024 · 1 comment
Open

-i does not work as expected on sync command #1702

RhetTbull opened this issue Oct 3, 2024 · 1 comment
Labels
bug Something isn't working cli Pertains to the command line interface

Comments

@RhetTbull
Copy link
Owner

          I tried the "sync" command today because my folder structure is stable and does not change that often.

Unfortunately, it creates a new/same album at the top level ("My Albums") and does not synchronize the images in the current folder/albumXYZ where the album already exists or needs to be created. I thought there was only an issue with folder creation.

Btw: "-i" is not working and "--import" have to be used, because following error will occur
osxphotos sync -e ~/ZZZ.db --merge all -i ~/YYY.db --dry-run
Error: Got unexpected extra argument (YYY.db)

I appreciate your work and I hope to help you with my tests and reports.

Originally posted by @mschindl in #1683 (comment)

@RhetTbull
Copy link
Owner Author

This is because osxphotos sync also takes query commands:

-i, --ignore-case Case insensitive search for title, description, place, keyword, person, or album.

@RhetTbull RhetTbull added bug Something isn't working cli Pertains to the command line interface labels Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli Pertains to the command line interface
Projects
None yet
Development

No branches or pull requests

1 participant