From: Cache Saravento Date: Sat, 8 Aug 2015 14:17:36 +0000 (-0300) Subject: Simple sync script X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=95a73b1c98e5f6aa87a2650e7c8f35a47f145483;p=cache.git Simple sync script --- 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/