source: soft/build_system/build_system/upload/robot/trunk/rsync_mkcd @ 1

Last change on this file since 1 was 1, checked in by fasma, 12 years ago

Initial Import from Mandriva's soft revision 224062 and package revision 45733

File size: 847 bytes
Line 
1#!/bin/sh
2
3old_ken=192.168.2.71
4
5#ping -c 1 -i 30 $old_ken > /dev/null
6#
7#if [ $? != 0 ]; then
8#    if [ -n "$*" ]; then
9#       echo "$old_ken is down"
10#    fi
11#    exit 0
12#fi
13
14
15#RSYNC="rsync -vlHarP --delete"
16RSYNC="rsync -vlHarP --delete --bwlimit=3000"
17
18# distro
19$RSYNC -e "ssh -x -c arcfour" /mnt/BIG/dis/cooker $old_ken:/mnt/BIG/dis/
20$RSYNC -e "ssh -x -c arcfour" /mnt/BIG/dis/community $old_ken:/mnt/BIG/dis/
21
22# updates
23#$RSYNC -e "ssh -p 222 -x -c arcfour" /mnt/BIG/dis/updates $old_ken:/mnt/BIG/dis/
24#$RSYNC -e "ssh -p 222 -x -c arcfour" /mnt/BIG/dis/updates_pro $old_ken:/mnt/BIG/dis/
25
26# old packages, do not delete the old ones
27rsync -vlHarP --bwlimit=3000 -e "ssh -x -c arcfour" "$@" /mnt/BIG/dis/old/ $old_ken:/mnt/BIG/dis/old/
28rsync -vlHarP --bwlimit=3000 -e "ssh -x -c arcfour" "$@" /mnt/BIG/dis/rejected/ $old_ken:/mnt/BIG/dis/rejected/
Note: See TracBrowser for help on using the repository browser.