From: Alvaro Herrera Date: Sat, 9 Jun 2012 19:17:18 +0000 (-0400) Subject: add rsync exclude pattern X-Git-Url: http://git.postgresql.org/gitweb/backend_dirs.html?a=commitdiff_plain;h=2b4cc90dfb6d8c49915f4ba4d1dafff8b4ca6ba1;p=pgweb-old.git add rsync exclude pattern This avoids errors caused by digest files going away while the rsync is in progress. --- diff --git a/archives/bin/run-rsync b/archives/bin/run-rsync index 0e627854..b1d10a5e 100755 --- a/archives/bin/run-rsync +++ b/archives/bin/run-rsync @@ -25,6 +25,6 @@ heldlock=$LOCKFILE_RSYNC cd $ARCHIVES_ROOT -$RSYNC -azH --delete --timeout=300 $MAJORDOMO_ORIGIN $MAJORDOMO_FILES +$RSYNC -azH --delete --timeout=300 $MAJORDOMO_ORIGIN $MAJORDOMO_FILES --exclude='.*' retval=$?