comparison DOCS/tech/mirrors/update_mplayer_rsync @ 18806:daccad6cb91d

natsuki.mplayerhq.hu -> rsync.mplayerhq.hu
author attila
date Sat, 24 Jun 2006 21:51:51 +0000
parents b45c4e057999
children 32725ca88fed
comparison
equal deleted inserted replaced
18805:1f8d9010ce2f 18806:daccad6cb91d
20 trap "rm -f $LOCK > /dev/null 2>&1" exit 20 trap "rm -f $LOCK > /dev/null 2>&1" exit
21 21
22 cd $MIRROR_ROOT 22 cd $MIRROR_ROOT
23 23
24 echo "************ rsyncing homepage ************" >> $TMPFILE 24 echo "************ rsyncing homepage ************" >> $TMPFILE
25 rsync -pxlrHtWv --delete --delete-after natsuki.mplayerhq.hu::homepage/ \ 25 rsync -pxlrHtWv --delete --delete-after rsync.mplayerhq.hu::homepage/ \
26 homepage >> $TMPFILE 2>&1 26 homepage >> $TMPFILE 2>&1
27 27
28 echo "************ rsyncing MPlayer ************" >> $TMPFILE 28 echo "************ rsyncing MPlayer ************" >> $TMPFILE
29 rsync -pxlrHtWv --delete --delete-after --exclude '/benchmark' \ 29 rsync -pxlrHtWv --delete --delete-after --exclude '/benchmark' \
30 --exclude '/old_stuff' --exclude '/tests' natsuki.mplayerhq.hu::ftp/ \ 30 --exclude '/old_stuff' --exclude '/tests' rsync.mplayerhq.hu::ftp/ \
31 MPlayer >> $TMPFILE 2>&1 31 MPlayer >> $TMPFILE 2>&1
32 32
33 x=`wc -l $TMPFILE | awk '{print $1}'` 33 x=`wc -l $TMPFILE | awk '{print $1}'`
34 if [ "$x" -ne "10" ] 34 if [ "$x" -ne "10" ]
35 then 35 then