gravity/sync
2025-12-28 11:46:15 -06:00

13 lines
378 B
Bash
Executable File

#!/bin/env bash
if [[ $(hostname) != "ladd76" ]]; then
echo >&2 "host $(hostname) != 'ladd76'"
exit 1
fi
rsync -ru --exclude='.git' --exclude='node_modules' ~/code/gravity-dev/ lentilz:code/gravity-dev/
rsync -ru --exclude='.git' --exclude='node_modules' lentilz:code/gravity-dev/ ~/code/gravity-dev/
echo >&2
echo >&2 "Synced with https://laddhoffman.com/gravity-dev/"