I'm looking for something to automatically upload/sync photos from my phone to my PC or server.
Anybody knows of something that could fit my use case?
My requirements:
- upload only files older than some date - I just want new photos, not all the old stuff that I already have
- don't reupload files I've deleted on the server/PC - I put the photos in different folders after putting them on the PC
- private / open source / FOSS - I don't want for them to get in Google's (or some other company's) hands.
What I've tried:
- syncthing - can't choose to upload stuff starting from a date, reuploads things I delete from the sync folder
- NextCloud - doesn't have one-way upload feature
I've been thinking about writing something that runs periodically on my phone and just pushes the photos to some S3-compatible storage, and a PC component that pulls them. The problem is that without rooting you can't have reliable cron. Even if I would make it work with Termux somehow, Android could deny network access.
I know that paid Dropbox can do exactly what I want, but l'm hesitant to give them access to all my photos.
rclone
is a very flexible solution if you don't mind CLI. I use it withcrond
but that requires root. Without root you can consider Termux Tasker or some similar solution. Related: Offline safe sync directory on sd card on non-rooted Android with Ubuntu PC – Irfan Latif Feb 10 '20 at 11:39I can't run that with Termux and Tasker just now, because my SSH key requires a password. But I am planning on configuring SFTP (with a proper chroot jail) on my computer to enable automated upload from the phone with a passwordless key.
– butla Jul 28 '21 at 13:33