Skip to content

Instantly share code, notes, and snippets.

@mudont
mudont / brew-sync.sh
Last active January 30, 2022 03:21 — forked from jamiew/brew-sync.sh
Sync Homebrew installations between Macs via Dropbox (including casks)
#!/bin/bash
# Sync Homebrew installations between Macs via Dropbox
#
BREW="/usr/local/bin/brew"
CLOUD_SYNC_DIR=~/iCloud/Apps/Homebrew
# first get local settings
echo "Reading local settings ..."
rm -f /tmp/brew-sync.*