this post was submitted on 18 Jul 2024
48 points (94.4% liked)

Open Source

31717 readers
200 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

There are solutions like ente and immich but I think they both are pretty overkill for my use case. I almost never look through my old photos so I don't need an app and a web UI or whatever. The face detection thing does not entice me either. I don't need encryption either.

Is there a simpler solution for this? I am thinking of just writing a script that syncs the camera folder using adb or something like that. But before I create a jank monstrosity I thought it would be better to ask around.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] pr06lefs@lemmy.ml 4 points 5 months ago (1 children)

I went the jank monstrosity path. Well, a few scripts anyway.

I use an app called SimpleSSHD on the phone that lets me ssh in. Then rsync to transfer files. The script to sync pictures is like this:

# file 'droidip' contains the local wifi ip of the phone.  
dip=$(cat droidip)

rsync --append-verify --progress  -avz -e "ssh -p 2222" root@$dip:/sdcard/DCIM/Camera newphonepix

Truthfully it was as much about learning rsync as anything, and now I'm sticking with it because momentum I guess. adb is way faster if you really need to move a lot of files.

[โ€“] tmpod@lemmy.pt 2 points 5 months ago* (last edited 5 months ago)

This. I don't even need real "scripts", I just plug my big drive into my laptop, start dropbear and use the shell (fish) history to get the right command. Takes about 15s to do everything :p

If you want a more continuous thing, you can look into Syncthing or something like that.