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

unknown shorthand flag #648

Open
jure3000 opened this issue Jan 24, 2025 · 3 comments
Open

unknown shorthand flag #648

jure3000 opened this issue Jan 24, 2025 · 3 comments

Comments

@jure3000
Copy link

jure3000 commented Jan 24, 2025

I am trying to run the following command to upload google photos to immich:
.\immich-go -server=http://my_ip:2283 -key=my_api upload -dry-run -create-albums -google-photos .\Takeout

I get the following error:
Error: unknown shorthand flag: 'd' in -dry-run

If I remove -dry-run, i get:
Error: unknown shorthand flag: 'c' in -create-albums

My immich runs in docker, v1.125.1.

@simulot
Copy link
Owner

simulot commented Jan 24, 2025

Which version of immich-go?

@miodraggolubovikj-allocate

I Can reproduce this on latest. 0.22.1 version in windows as well stuck on same issue...

@simulot
Copy link
Owner

simulot commented Jan 26, 2025

Maybe you are running the latest release candidate... It come with lot of changes, including a change in the command line handling (sorry)

Look at https://github.com/simulot/immich-go/tree/v0.23.0-RC9 for the latest documentation

In that case, the command line would be:

.\immich-go --server=http://my_ip:2283 --api-key=my_api upload  from-google-photos --dry-run --sync-albums .\Takeout

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

3 participants