CLI Bulk Upload - assign image to multiple albums?
Hi all,
first of all i need to tell you how much i'm impressed with this project and the immense pace you are developing. Kudos!
The last days I wanted to migrate my Google Photos Images (exported via manual Download from their Webapp, so i also get images which are shared with me) to immich.
Bulk upload works fine. But I had in Google the same Image in multiple albums. The Google Takeout places the identical images in two folders.
The upload and assignment to the first folder works flawless. But when I want to upload the second folder, the images (which were already uploaded due to the fist folder) gets ignored.
Is it possible to not ignore the images but to assign the already uploaded assets to the second album?
Thanks so much!
Cheers
Tom
7 Replies
Currently images are skipped entirely when they're duplicate. There's an open PR to change that, which will also cover your case. https://github.com/immich-app/CLI/pull/49
GitHub
fix: Add existing assets to albums by conneryn · Pull Request #49 ·...
If an asset already exists on the server, it was being skipped entirely. In the upload case, this makes sense, but when adding assets to albums, we may want to add the same asset to multiple album...
wow fantastic, thanks for the reply. I will build and test the PR.
Let us know how it goes!
worked perfectly

Great!
@Alex Tran does that pr still need something or can we merge it?
I will take a look tonight and merge it in