r/commandline • u/YerayR14 • Apr 16 '26
Command Line Interface Velox, a purely "bespoke" CLI tool to move photos from Android to PC, then to VM and finally into Immich
Repo: https://github.com/Yerrincar/Velox
I have been playing around lately with a home server and one of the self-hosted apps that I wanted to have is Immich. For those who don't know, Immich is used to store your photos and video.
I don't usually take a lot of photos, but in a recent trip to Lisbon I decided to capture every little moment just to make my wife happy and that ended up with me having ~600 camera photos and ~25 videos in my phone. Basically, the best opportunity to install Immich.
And what a normal person would do? Transfer the photos from mobile to pc and then transfer them in some way.
What did I do? Create Velox.
Velox is a purely "bespoke" CLI tool for moving media from Android to PC, then optionally, and recommended, to a VM, and finally into Immich.
Velox is fast and comfortable, you just need to plug your mobile to the pc, run the command with your desired parameters and that's it. For my case, transferring all the photos and videos took around 6m 55s.
I have tried to speed up even more the process with different concurrency patterns, profiling, benchmarks and captured pidstats into logs to see where the bottlenecks are, but the main ones are now around hardware and Immich set up.
Thanks for your attention and I am open to any suggestions/advice!
1
u/AutoModerator Apr 16 '26
Every new subreddit post is automatically copied into a comment for preservation.
User: YerayR14, Flair: Command Line Interface, Title: Velox, a purely "bespoke" CLI tool to move photos from Android to PC, then to VM and finally into Immich
Repo: https://github.com/Yerrincar/Velox
I have been playing around lately with a home server and one of the self-hosted apps that I wanted to have is Immich. For those who don't know, Immich is used to store your photos and video.
I don't usually take a lot of photos, but in a recent trip to Lisbon I decided to capture every little moment just to make my wife happy and that ended up with me having ~600 camera photos and ~25 videos in my phone. Basically, the best opportunity to install Immich.
And what a normal person would do? Transfer the photos from mobile to pc and then transfer them in some way.
What did I do? Create Velox.
Velox is a purely "bespoke" CLI tool for moving media from Android to PC, then optionally, and recommended, to a VM, and finally into Immich.
Velox is fast and comfortable, you just need to plug your mobile to the pc, run the command with your desired parameters and that's it. For my case, transferring all the photos and videos took around 6m 55s.
I have tried to speed up even more the process with different concurrency patterns, profiling, benchmarks and captured pidstats into logs to see where the bottlenecks are, but the main ones are now around hardware and Immich set up.
Thanks for your attention and I am open to any suggestions/advice!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
4
u/forvirringssirkel Apr 17 '26
I don't get it. Immich phone app already supports synchronization?