recreated repo without passwords
authorSomeone <someone@somenet.org>
Sat, 9 Feb 2013 11:01:34 +0000 (12:01 +0100)
committerSomeone <someone@somenet.org>
Sat, 9 Feb 2013 11:01:34 +0000 (12:01 +0100)
dotload.sh [new file with mode: 0755]
dotstore.sh [new file with mode: 0755]
homeload.sh [new file with mode: 0755]
homestore.sh [new file with mode: 0755]

diff --git a/dotload.sh b/dotload.sh
new file mode 100755 (executable)
index 0000000..c069a08
--- /dev/null
@@ -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 (executable)
index 0000000..f2c8100
--- /dev/null
@@ -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 (executable)
index 0000000..b1373da
--- /dev/null
@@ -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 (executable)
index 0000000..62da6d4
--- /dev/null
@@ -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/"
+