Bulk upload CLI

Total newb here. I'm 60 years old and I can't wrap my head on how to use the CLI tool to bulk upload folders from a Windows computer folder to my Ubuntu Server on the same network. Been spending a few days reading and rereading the bulk upload section. I've setup this server with Docker/Docker Compose, successfully update both server and Immich server, but can't seem to grasp how to use this fabulous CLI bulk image tool. I love Immich and appreciate any help.
20 Replies
hiddenpcmaster
hiddenpcmasterOP2y ago
..... I manually uploaded 2 gig of photo's and would like to backup more using the CLI bulk upload tool. Not sure how to use the command when in Windows?
Alex Tran
Alex Tran2y ago
Hello, I can help you Can you first go on nodejs page and install the long term support version? Them from the command line you can verify it install correctly by typing “node —version”
Simulot
Simulot2y ago
@hiddenpcmaster if you are stuck with nodejs installation, I'd suggest to look at my project https://github.com/simulot/immich-go No installation, no dependency, just a binary to run in the console
GitHub
GitHub - simulot/immich-go
Contribute to simulot/immich-go development by creating an account on GitHub.
jrasm91
jrasm912y ago
You can run the command on Windows, but it may be more of a pain. It might be easier to copy the photos to your Ubuntu server and then run the CLI. How many photos are you trying to import?
hiddenpcmaster
hiddenpcmasterOP2y ago
Hi Alex! I think I may have messed up my nodejs install...
No description
hiddenpcmaster
hiddenpcmasterOP2y ago
when you say the "Can you first go on nodejs page and install the long term support version?" do you mean on the windows machine I'm trying to copy the files from or the Ubuntu machine where "Immich" is?
jrasm91
jrasm912y ago
I think it might just be node version
hiddenpcmaster
hiddenpcmasterOP2y ago
same result.
No description
hiddenpcmaster
hiddenpcmasterOP2y ago
I'm so sorry and I'm probably way over my head... but really appreciate your help. I've never asked for help before. I may just upload photos manually. but really want to try to repair any damage to my ubuntu server before trying to install nodejs and npm. Thank you. Will take a look.
jrasm91
jrasm912y ago
That is a node error.. so it looks like it is installed fine. Not sure why version command doesn't work
Alex Tran
Alex Tran2y ago
I believe is it double dash not single so “—version” Now try install immich with “npm i -g immich”
hiddenpcmaster
hiddenpcmasterOP2y ago
Doesn't look terrible, what's next?
No description
hiddenpcmaster
hiddenpcmasterOP2y ago
yes! you were correct. node --version works! v16.20.2
jrasm91
jrasm912y ago
I think the idea was to install nodejs on the windows machine and then use the CLI to upload the pictures you have on that computer: 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
Alex Tran
Alex Tran2y ago
You shouldn’t have to use sudo to install immich You can run node as a user
hiddenpcmaster
hiddenpcmasterOP2y ago
it didn't work unless I used sudo.
Alex Tran
Alex Tran2y ago
Hmm It wouldn’t work with node command or npm command? Regardless, you can now use the immich command to run the cli now
hiddenpcmaster
hiddenpcmasterOP2y ago
I'm going to try combined with jram91 suggestion to install nodejs on the windows machine. Hopefully I'm off and running! Thanks to all. Will let you know how I made out.
No description
Alex Tran
Alex Tran2y ago
please try immich upload --help
hiddenpcmaster
hiddenpcmasterOP2y ago
👍

Did you find this page helpful?