aboutsummaryrefslogtreecommitdiff
path: root/bin/sync
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sync')
-rwxr-xr-xbin/sync13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/sync b/bin/sync
new file mode 100755
index 0000000..aaae025
--- /dev/null
+++ b/bin/sync
@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# Simple sync script.
+#
+
+# Parameters
+DIRNAME="`dirname $0`"
+WORK="$DIRNAME/.."
+CWD="`pwd`"
+
+# Sync
+cd $DIRNAME
+rsync -av rsync://cache.sarava.org/cache/data/ data/