▲ | stevenwalton 7 days ago | |
Since we're talking about Android, a great method is to just use Termux and rsync. You can write a pretty quick and dirty shell script to accomplish this. Here, I'll drop mine[0]. It's no the cleanest but it'll get the job done and has some documentation to it. It will check if you're on WiFi and connected to a specific SSID. You can change this around pretty easily to do different things like point at 2 servers, use Tailscale, give a white list of allowed SSIDs, change the rsync to have it delete from the local storage, or whatever. If you don't know how you can reply to this comment or open an issue and I'll respond[1].Unfortunately this doesn't work on iPhone. I have a shortcut that will do something similar that I can share but that is a lot hackier... [0] https://github.com/stevenwalton/.dotfiles/blob/master/script... [1] Probably better. I'm normally logged into my alt account |