Ask HN: How do you keep your work and home machine in sync?

  • I leave my work laptop at work. After work I go to the pub, or a cafe, or to my apartment, and live life. Sometimes I work on personal projects, but _never_ on my work machine, and _never_ at work (the nature of invention assignment agreements makes this prudent).

    Don't work for free.

  • I have a directory on each machine that are to be kept in sync, then I just put everything in a git repo. Go to work, pull, done. Go home, pull, done. Anything not in that directory is private to the machine, all my work is in the repo.

  • I just work in the Dropbox folder itself. I.e I do not drag and drop at the end of the day - the code and/or documents live permanently in the Dropbox folder. I truly wished I could selectively eliminate files (don't duplicate .pyc files, or whatever), but it works. A nice benefit is how dropbox keeps backups of everything. A couple of times a stupid moment at the keyboard led me to blowing away a file before checking it in. No problem, Dropbox had it versioned.

  • I keep work and personal projects separate.

    Despite that, all my code is in git so it is synced wherever and whenever I need it, as long as I am disciplined about pushing to my central repo.

    There is some data that I use on both home and work machines (vim config, bashrc, etc.) and that is in an "environment" git repository so it is easily syncable.

  • Shared bookmarks are most important to me so I use Pinboard.in and GetPocket on each computer. For documents I use MicroSoft OneCloud or whatever its called today. And lastly, my fav, is I have a SanDisc SD Plus Ultra II that lays very flat in my wallet yet opens to a USB. Love it.

  • I'm personally not a big fan of working from home at night. However, at times, I have to work from home due to personal reasons and hence the questions.

    Thanks for sharing your current solutions.

  • I just slip it in to my bag and open it when I get home. I sometimes have a few issues with after-work beers interfering with the sync process, but generally it works OK.

  • I use unison from command line to sync files between pc's, backup server and mounted devices. Internally, if I remember me right, it's uses rsync.

  • I use BitTorrent Sync.

    http://www.getsync.com

  • Leave your work at the office.