I
Immich•2y ago
StevieZ

CLI import Error

Hey Any idea why the CLI or API would not be contactable? I can browse and from the Mobile app upload Photos but the CLI Is getting a 404.
13 Replies
Alex Tran
Alex Tran•2y ago
Logs and the command you used would be helpful for troubleshooting
StevieZ
StevieZOP•2y ago
think i figured it out now need to figure out how to pass in space in folders 😄 immich upload --key My API --server https://myurli --recursive /photos/Photos/2008-04 immich upload --key MYAPI --server https://myurl --recursive /photos/Sorted Photos/Yellow Sands/Yellow Sands 2008 This fails? Any idea on how to pass in spaces?
Alex Tran
Alex Tran•2y ago
immich upload --key MYAPI --server https://myurl/ --recursive '/photos/Sorted Photos/Yellow Sands/Yellow Sands 2008'
StevieZ
StevieZOP•2y ago
SuperStar ! @alex while uploading is there a way for it to autcreate an album also? or add them to an Album? Also what is the difference between the above with import or without this flag?
Alex Tran
Alex Tran•2y ago
yes with the flag --album you can find the availalbe flags here https://immich.app/docs/features/bulk-upload
Bulk Upload (Using the CLI) | Immich
You can use the CLI to upload an existing gallery to the Immich server
StevieZ
StevieZOP•2y ago
i got it
Alex Tran
Alex Tran•2y ago
import will not upload the assets, related to this feature https://immich.app/docs/features/read-only-gallery
StevieZ
StevieZOP•2y ago
so it will just surface them in immich, but leave them in the OG folder?
Alex Tran
Alex Tran•2y ago
Correct
StevieZ
StevieZOP•2y ago
YES!! ok, not sure who does your documentation, but we could work through that in more detail maybe explaining the differences but amazing work!
Alex Tran
Alex Tran•2y ago
I and the team work on documentation, any suggestion please feel free to open a PR to make it clearer 🙂 we are open for improvement
StevieZ
StevieZOP•2y ago
awesome! will do Sorry one last dumb Q, are you guys working on a duplicate dedection module at all? Over the years i have had photos all over the place so will have dulpication
Alex Tran
Alex Tran•2y ago
We have duplication detection based on file content

Did you find this page helpful?