From 95a73b1c98e5f6aa87a2650e7c8f35a47f145483 Mon Sep 17 00:00:00 2001 From: Cache Saravento Date: Sat, 8 Aug 2015 11:17:36 -0300 Subject: Simple sync script --- bin/sync | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 bin/sync 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/ -- cgit v1.2.3