aboutsummaryrefslogtreecommitdiff
path: root/bin/sync
blob: aaae02592409597a7d91080226d8a507ecc02720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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/