I
Immichβ€’2y ago
dankkster

How to add folders of photos to immich albums from another machine or VM within the network.

I saw a cli explaination of what to do to recursively add photos, but its on the same PC from what I could tell. How would I do a bulk migration of photos from any number of machines in my homelab? Is there a GUI option as well? nbd if there isnt. Thanks for any help on that.
29 Replies
Alex Tran
Alex Tranβ€’2y ago
Are you talking in term of importing existing gallery or uploading gallery to Immich?
dankkster
dankksterOPβ€’2y ago
Hi, thanks for answering. Its just a folder full of photos. I have them all over the place so this solution (immich) is perfect for me. and the folder has subfolders. I have done this several times when replacing a phone or whatever and have them seemingly everywhere like some weird photo packrat so my best option is to try to send them all into immich somehow
Alex Tran
Alex Tranβ€’2y ago
Ah ok, so you can use the CLI to upload that folder into Immich using the --recursive flag so it loops through the content in the subfolders. Once they are arrvied at Immich, Immich will sort them into the folder by your custom template https://immich.app/docs/administration/storage-template
Alex Tran
Alex Tranβ€’2y ago
The CLI client is headless, it is not in the Immich stack, so you can install it on any machine that you have your photos or videos folder and run the command to upload those files to your Immich instance
dankkster
dankksterOPβ€’2y ago
fair enough. thank you for the help!
Alex Tran
Alex Tranβ€’2y ago
please let me know if you need any help
dankkster
dankksterOPβ€’2y ago
I have everything I need to get the photos in immich now, pretty easy setup. I was reading around but didnt see a definitive answer regarding duplicates? Is that handled automatically by chance?
Alex Tran
Alex Tranβ€’2y ago
Correct the file hash will be calculated by the server so no hash should be the same
dankkster
dankksterOPβ€’2y ago
thats fantastic. I really am liking this container so far. I set it up on one of my promox nodes and using a zfs drive for it. I noticed it has a lot of jobs it will need to do. Im good with that as well. I have plenty of time and Im in no hurry. I have a little gpu im not using i could pass through if that would help the logic any. Not sure. haha this facial recognition is picing the worst possible photos of people. Thats hilarious
Alex Tran
Alex Tranβ€’2y ago
the thumbnail right? I need to get back to the facial recognition feature to start adding more abilities to it
dankkster
dankksterOPβ€’2y ago
Yeah its the circular thumbnail at the top. hehe pretty funny
Gaurhoth
Gaurhothβ€’2y ago
So, speaking about duplicated photos. I'm in the unfortunate circumstance where I've got duplicates in different libraries that have had their exif data parsed/modified differently. So since the file isn't technically the same (altho all the IMAGE data is identical), I end up with duplicates and have to manually sort through and remove duplicates. Any chance to see an option where we can compute the file hash for deduplication on image data alone ignoring exif data? (I know that's probably asking a lot for a limited use case). Alternatively, is there some other tool that could manage to find duplicate images ignoring exif data?
Alex Tran
Alex Tranβ€’2y ago
Hello, there is not a tool availalbe at the moment
dankkster
dankksterOPβ€’2y ago
ok I have pretty much everything done with the exception of the massive google photos import. is there a recommended way to do that? reading what gaurhouth mentioned, what sorts of changes would make the photos look exactly the same but make them different? I am really hoping i didnt do that. I may just put everything in one folder and sort the mess out over the next year lol or two
SmartPhoneLover
SmartPhoneLoverβ€’2y ago
Just for curiosity... How did you use cli tool? I mean, via Docker?
dankkster
dankksterOPβ€’2y ago
@SmartPhoneLover unfortunately, in my case, immich is install via docker-compose, but the media that I sent to it was not. I did not have a need to use the tool within a docker container. I am sure @Alex can get you straight on that. if you have immich as a docker, but are sending from a non docker source, that link should suffice i do have a question regarding the jobs for immich however. do these just run of their own accord? everytime i go to this section it seems like I am starting over and it reprocesses the images. not sure about this one.
Alex Tran
Alex Tranβ€’2y ago
yeah all the jobs are run when you upload a file the reason we have jobs is for cases when we changes some mechanism and required the user to run those things to update their uploaded files for example, changing a better ML model
dankkster
dankksterOPβ€’2y ago
lol I keep hitting sync and other options and its starting over i guess πŸ˜„ need a BIG BANNER over that area for idiots like me i guess lol
Alex Tran
Alex Tranβ€’2y ago
which sync button?
dankkster
dankksterOPβ€’2y ago
basically anytime you hit sync or start, it does stuff, which led me to think it had more to do haha. my bad for sure on that one
Alex Tran
Alex Tranβ€’2y ago
oh like missing/all button for the job?
dankkster
dankksterOPβ€’2y ago
yeah n00b error do you have a way to pull down images from google photos?
Alex Tran
Alex Tranβ€’2y ago
GitHub
gphotos import + albums migration Β· immich-app immich Β· Discussion ...
gphotos import + albums With this guide, you STILL have to add images that are in multiple albums manually (except for the first instance of that image, so hopefully this isn’t too many) can get al...
Alex Tran
Alex Tranβ€’2y ago
Here you go
dankkster
dankksterOPβ€’2y ago
ok thats twice i feel like an a$$ sorry about that 😐
Alex Tran
Alex Tranβ€’2y ago
no problem
dankkster
dankksterOPβ€’2y ago
thank you for the help once again
Alex Tran
Alex Tranβ€’2y ago
information are scattered I need to build a bot to help me with these links πŸ˜„
dankkster
dankksterOPβ€’2y ago
well it is, but thats what search engines help with πŸ˜‰ AI is getting pretty good with that too

Did you find this page helpful?