5 lines
189 B
Bash
Executable file
5 lines
189 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
set -a && . "src/.env" && set +a
|
|
: "${SYNC_TARGET:?SYNC_TARGET must be set in .env (e.g. pi@192.168.0.81:~/frame/)}"
|
|
rsync -avz --progress src/ "$SYNC_TARGET"
|