From f71de37da90746b5c270b496f1bdb1973fdd8de3 Mon Sep 17 00:00:00 2001 From: Someone Date: Sat, 9 Feb 2013 12:01:34 +0100 Subject: [PATCH] recreated repo without passwords --- dotload.sh | 6 ++++++ dotstore.sh | 5 +++++ homeload.sh | 9 +++++++++ homestore.sh | 9 +++++++++ 4 files changed, 29 insertions(+) create mode 100755 dotload.sh create mode 100755 dotstore.sh create mode 100755 homeload.sh create mode 100755 homestore.sh diff --git a/dotload.sh b/dotload.sh new file mode 100755 index 0000000..c069a08 --- /dev/null +++ b/dotload.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +echo "Will sync settings in homedir FROM server in 10 sec..." +sleep 10 +rsync -aHAxv --delete --progress --sparse -e 'ssh -p666' "dev.somenet.org:HOMESYNC_dots/`hostname`/.*" "$HOME/" + diff --git a/dotstore.sh b/dotstore.sh new file mode 100755 index 0000000..f2c8100 --- /dev/null +++ b/dotstore.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +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' "dev.somenet.org:HOMESYNC_dots/`hostname`/" diff --git a/homeload.sh b/homeload.sh new file mode 100755 index 0000000..b1373da --- /dev/null +++ b/homeload.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +SLEEPTIME=5 +echo "Will sync ${HOME} FROM server in ${SLEEPTIME} sec..." +sleep $SLEEPTIME +rsync -aHAxv --delete --progress --sparse --exclude='/.**' --exclude='/Downloads' \ + --exclude='/sync.opera/cache/**' --exclude='/sync.opera/application_cache/**' --exclude='/sync.opera/icons/**' \ + -e 'ssh -p666' "dev.somenet.org:HOMESYNC_DATA/" "${HOME}/" + diff --git a/homestore.sh b/homestore.sh new file mode 100755 index 0000000..62da6d4 --- /dev/null +++ b/homestore.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +SLEEPTIME=5 +echo "Will sync ${HOME} TO server in ${SLEEPTIME} sec..." +sleep $SLEEPTIME +rsync -aHAxv --delete --progress --sparse --exclude='/.**' --exclude='/Downloads' \ + --exclude='/sync.opera/cache/**' --exclude='/sync.opera/application_cache/**' --exclude='/sync.opera/icons/**' \ + "${HOME}/" -e 'ssh -p666' "dev.somenet.org:HOMESYNC_DATA/" + -- 2.43.0