• 7 Posts
  • 19 Comments
Joined 2 years ago
cake
Cake day: July 9th, 2023

help-circle








  • So there is no way with Rsync (under ssh) to set settings (config file or other) that will apply to all clients !!??
    So it’s the client that configure rsync and the server !? there is no way around ?!

    You basically want to use the daemon but under ssh. I looked into this before, and I think it is possible but the command for it is weird and confusing. Wish I remembered it, but just commenting to say that I vaguely remember there’s a way (or maybe I’m hallucinating).








  • I have considered this approach, but there are several things I had issues with.

    • there is still a degree of latency. It’s not a deal breaker, but it is annoying
    • clipboard programs don’t work. They copy to the remote host’s clipboard. I bet there’s a solution to this, but I couldn’t find it from spending a limited time looking into it.
    • in the rare case the host is unreachable, I am kinda screwed. Not a deal breaker since its rare, but the host has to be always on, whether the git solution only requires it to be on when it syncs

    To address the issues you brought up:

    • less commits: this would be resolved by squashing every time I make a commit. The auto save commits will be wiped. If I really hated commits, I could just amend instead of commit, but I rather have the history.
    • forgetting to git pull: the hooks I talked about will take care of that. I won’t have to ever worry about forgetting anymore.