utils/syncrepo.sh
author Anders Bergh <anders1@gmail.com>
Mon, 17 Dec 2007 05:25:25 +0100
changeset 3 21b0b0f2b2cd
parent 2 e8ebdcd8bcd0
child 4 946a11dbdb23
permissions -rwxr-xr-x
Fix the copas package: wrong path when copying the license

#!/bin/bash
# Sync local Arch Linux repository with remote server
#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
# Settings
#-------------------------------------------------------------------------------
USER=anders
SERVER=andersman.org
HTDOCS=/srv/hg/happymars/htdocs
#-------------------------------------------------------------------------------

rsync -zrptL -e ssh ../htdocs/i686/ $USER@$SERVER:$HTDOCS/i686/
echo "Finished syncing i686"
rsync -zrptL -e ssh ../htdocs/x86_64/ $USER@$SERVER:$HTDOCS/x86_64/
echo "Finished syncing x86_64"