diff options
author | Dustin Walker <dustin.walker@email.wsu.edu> | 2025-01-16 10:44:34 -0500 |
---|---|---|
committer | Dustin Walker <dustin.walker@email.wsu.edu> | 2025-01-16 10:44:34 -0500 |
commit | b088d469a1132b64465a4eb08e00b049715299ce (patch) | |
tree | b63f2e33487ae731c737feddb6057be1fa860fe8 | |
parent | e85ebd2036048b64c1d4fc643df948d11414e402 (diff) |
rsync sends data to /var/tmp rather than home dir
-rwxr-xr-x | rsync.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,6 +6,6 @@ if [ $# -eq 0 ] || ! [ $2 -gt 0 ] 2>/dev/null; then echo "usage: rsync.sh <user@url> <port>" else - rsync -rtvzP -e "ssh -p $2" ./ $1:~/www + rsync -rtvzP -e "ssh -p $2" ./ $1:/var/tmp/www fi |