begin little script to sync content on public servers

This commit is contained in:
Jean-Jacques Brucker 2022-04-03 11:20:59 +02:00
parent 8775f97757
commit ebe2b5a792
1 changed files with 6 additions and 0 deletions

6
sync.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
DEST="${1:-aya1:/home/jbar/reprepro_base_dir/}"
cd $(dirname "$0")
rsync --recursive --delete * "${DEST}"