From b088d469a1132b64465a4eb08e00b049715299ce Mon Sep 17 00:00:00 2001 From: Dustin Walker Date: Thu, 16 Jan 2025 10:44:34 -0500 Subject: rsync sends data to /var/tmp rather than home dir --- rsync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsync.sh b/rsync.sh index 5bfb520..7ceb4d1 100755 --- a/rsync.sh +++ b/rsync.sh @@ -6,6 +6,6 @@ if [ $# -eq 0 ] || ! [ $2 -gt 0 ] 2>/dev/null; then echo "usage: rsync.sh " else - rsync -rtvzP -e "ssh -p $2" ./ $1:~/www + rsync -rtvzP -e "ssh -p $2" ./ $1:/var/tmp/www fi -- cgit v1.2.3