Re:Bashhub – Bash History in the Cloud
by shaan7 on Tuesday December 08, 2015 @12:57AM
(#10695046)
Well, the people in the first category will usually be smart enough to setup a sync without using an external "cloud service".
[ Parent
| on HN ]
> Well, the people in the first category will usually be smart enough to setup a sync without using an external "cloud service".
Apart from some, like myself.
How would you go about it, given the need for 2-way sync? I've ruled out rsync, could see Git working but not particularly performant to run every 20 seconds to keep the history in sync between machines.
Re:Bashhub – Bash History in the Cloud
by deadbunny on Tuesday December 08, 2015 @03:22AM
(#10695360)
I use git to sync my dotfiles (pulled in by SaltStack because I'm crazy enough to put my workstations under config management) I just have a script that does a git commit -am "automated push on $(date)" that triggers when I lock my screen. It's not perfect but it works well enough for my needs, though I don't sync my bash history.