From e87bb8e13e6bc909cb9f4bc072a5fd3d7a93ab7d Mon Sep 17 00:00:00 2001 From: Someone Date: Tue, 23 Feb 2016 02:21:47 +0100 Subject: [PATCH] get rid of hardcoded ssh port --- dotload.sh | 2 +- dotstore.sh | 2 +- homeload.sh | 4 ++-- homestore.sh | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dotload.sh b/dotload.sh index ee9480c..a324825 100755 --- a/dotload.sh +++ b/dotload.sh @@ -2,5 +2,5 @@ echo "Will sync settings in homedir FROM server in 10 sec..." sleep 10 -rsync -aHAxv --delete --progress --sparse -e 'ssh -p666' "homesync.somenet.org:HOMESYNC_dots/`hostname`/.*" "$HOME/" +rsync -aHAxv --delete --progress --sparse "homesync.somenet.org:HOMESYNC_dots/`hostname`/.*" "$HOME/" diff --git a/dotstore.sh b/dotstore.sh index 71801a7..ba8729b 100755 --- a/dotstore.sh +++ b/dotstore.sh @@ -2,4 +2,4 @@ echo "Will sync settings in homedir TO server in 10 sec..." sleep 10 -rsync -aHAxv --delete --progress --sparse --rsync-path='mkdir -p HOMESYNC_dots/'`hostname`' && rsync' --include='.**' --exclude='*' "$HOME"/ -e 'ssh -p666' "homesync.somenet.org:HOMESYNC_dots/`hostname`/" +rsync -aHAxv --delete --progress --sparse --rsync-path='mkdir -p HOMESYNC_dots/'`hostname`' && rsync' --include='.**' --exclude='*' "$HOME"/ "homesync.somenet.org:HOMESYNC_dots/`hostname`/" diff --git a/homeload.sh b/homeload.sh index 82500cb..7658598 100755 --- a/homeload.sh +++ b/homeload.sh @@ -14,10 +14,10 @@ sleep $SLEEPTIME if [[ "$1" == "CROSSFS" ]] ; then rsync -aHAvpP --delete --sparse --exclude='/.**' --exclude='/Downloads' \ --exclude='/sync.opera/cache/**' --exclude='/sync.opera/application_cache/**' --exclude='/sync.opera/icons/**' \ - -e 'ssh -p666' "homesync.somenet.org:HOMESYNC_DATA/" "${HOME}/" + "homesync.somenet.org:HOMESYNC_DATA/" "${HOME}/" else rsync -axHAvpP --delete --sparse --exclude='/.**' --exclude='/Downloads' \ --exclude='/sync.opera/cache/**' --exclude='/sync.opera/application_cache/**' --exclude='/sync.opera/icons/**' \ - -e 'ssh -p666' "homesync.somenet.org:HOMESYNC_DATA/" "${HOME}/" + "homesync.somenet.org:HOMESYNC_DATA/" "${HOME}/" fi diff --git a/homestore.sh b/homestore.sh index b65a2e7..0dd9977 100755 --- a/homestore.sh +++ b/homestore.sh @@ -14,9 +14,9 @@ sleep $SLEEPTIME if [[ "$1" == "CROSSFS" ]] ; then rsync -aHAvpP --delete --sparse --exclude='/.**' --exclude='/Downloads' \ --exclude='/sync.opera/cache/**' --exclude='/sync.opera/application_cache/**' --exclude='/sync.opera/icons/**' \ - "${HOME}/" -e 'ssh -p666' "homesync.somenet.org:HOMESYNC_DATA/" + "${HOME}/" "homesync.somenet.org:HOMESYNC_DATA/" else rsync -axHAvpP --delete --sparse --exclude='/.**' --exclude='/Downloads' \ --exclude='/sync.opera/cache/**' --exclude='/sync.opera/application_cache/**' --exclude='/sync.opera/icons/**' \ - "${HOME}/" -e 'ssh -p666' "homesync.somenet.org:HOMESYNC_DATA/" + "${HOME}/" "homesync.somenet.org:HOMESYNC_DATA/" fi -- 2.43.0