Files
home_server/scripts/dynamic_sync.sh
T
2024-02-03 11:58:42 +01:00

3 lines
161 B
Bash

#!/bin/bash
/usr/bin/rsync -ravz --stats --progress --exclude=$1 -e "ssh -i /home/null/.ssh/id_rsa_sync " invalid@unity.whatbox.ca:/home/invalid/files/$2/ $1