Easy sync for macOS. Dotfiles, folders, configs — anything.
Sync files across Macs using Dropbox, iCloud, Google Drive, OneDrive, NAS, or any folder that syncs between devices.
Works with Dropbox, iCloud, Google Drive, OneDrive, Yandex.Disk, NAS — any folder that syncs.
Files stay in sync folder, symlinks in their place. Edit on one Mac — changes appear everywhere.
Original files backed up before any changes. Restore anytime with one command.
One config file. List what to sync. Run one command. Done.
Disable sync anytime. Files restored to original locations automatically.
Install with one command via Homebrew. Updates delivered automatically.
~/.zshrc
→
symlink
~/Dropbox/MacSync/dotfiles/.zshrc
real file
_Backup_default_config/
<SYNC_FOLDER>/dotfiles/
brew install pilaton/tap/macsync
Edit ~/.macsync/config.cfg:
# Where to store synced files
SYNC_FOLDER=~/Dropbox/MacSync
# What to sync
BACKUP_FILES=(
.zshrc
.gitconfig
.config/nvim
.ssh/config
)
macsync
That's it! Your files are now synced.
| Command | Description |
|---|---|
macsync |
Interactive mode |
macsync --dry-run |
Preview without changes |
macsync --sync-folder ~/path |
Override sync folder |
macsync --files ".zshrc,.gitconfig" |
Override file list |
macsync --verbose |
Detailed output |
macsync --quiet |
Minimal output |
macsync --help |
Show help |
~?No, MacSync only works with paths relative to home directory.
Symlink breaks. Use "Disable sync" or restore from backup.
Avoid syncing private keys. Use .ssh/config with caution. Ensure your
cloud encrypts data.
macOS 10.15+ (Catalina), zsh, rsync.