summaryrefslogtreecommitdiffstats
path: root/syncrepo.sh
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-09-06 15:14:39 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-09-06 15:14:39 +0200
commite02338e5c58a4287adb649fd196d3a4864ef1d2c (patch)
tree3dafa92113b3cbf4b721bfa6d66e78edaba2f212 /syncrepo.sh
parent85d3626f85ccb36ddb04a8584bb45b196e81b9ba (diff)
downloadbin-e02338e5c58a4287adb649fd196d3a4864ef1d2c.tar.gz
bin-e02338e5c58a4287adb649fd196d3a4864ef1d2c.tar.xz
syncrepo.sh: Improve description
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'syncrepo.sh')
-rwxr-xr-xsyncrepo.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/syncrepo.sh b/syncrepo.sh
index 23cc26e..f6c8f5d 100755
--- a/syncrepo.sh
+++ b/syncrepo.sh
@@ -3,8 +3,9 @@
# This is a simple mirroring script. To save bandwidth it first checks a
# timestamp via HTTP and only runs rsync when the timestamp differs from the
# local copy. As of 2016, a single rsync run without changes transfers roughly
-# 6MiB of data which adds up to roughly 250GiB of traffic per month. Performing
-# a simple check via HTTP first can thus save a lot of traffic.
+# 6MiB of data which adds up to roughly 250GiB of traffic per month when rsync
+# is run every minute. Performing a simple check via HTTP first can thus save a
+# lot of traffic.
home="/srv"
target="${home}/repo"