Page 2 of 2

Re: Bash Script : Sync Daily ISO

Posted: Tue Oct 11, 2016 13:30
by sabayonino
Add

Code: Select all

echo -e $LYELLOW"Mirror DAILY date: $($CAT ${DEST}/MIRROR_RELEASE_DATE_DAILY)"
            echo -e $LYELLOW"Mirror DAILY url : $opt"$DEF
                if [[ "$($CAT $DEST/MIRROR_RELEASE_DATE_DAILY)" != "$TIMESTAMP" ]] ; then 
                    echo -n -e $LRED"Warning !!! The two mirrors are not synchronized.\nBack to the Menu list in "$DEF
                    for i in {5..1} ; do echo -n -e "$i " ; $SLEEP 1 ; done
                    echo -e $DEF
                    $CLEAR
                    REPLY=
                fi
9) rsync://rsync.belnet.be/sabayon/
10) rsync://sabayon.mirror.ac.za/sabayon
11) Quit
>> Select a mirror > 7

Official DAILY url : http://na.mirror.garr.it/mirrors/sabayonlinux
Official DAILY date: Tue Oct 11 09:22:17 UTC 2016
Mirror DAILY date: Wed Feb 25 05:49:43 UTC 2015
Mirror DAILY url : rsync://mirrors.coopvgg.com.ar/sabayon/
Warning !!! The two mirrors are not synchronized.
Back to the Menu list in 5 4 3 2 1


1) Change HTTP/FTP Mirror for TAR.GZ
2) Change RSYNC mirror for ISO
3) Sabayon_Linux_DAILY_amd64_ForensicsXfce
4) Sabayon_Linux_DAILY_amd64_GNOME-dev

need a GIT repository buuuahahahahah :mrgreen: