Le Vendredi 4 Avril 2003 00:49, Steffen Barszus a écrit : > Hi! > > I know somebody has written a howto rsync Cooker. I want to try to rsync a > local copy of Cooker with isdn. Or should I better use urpmi with rsync to > get updates ?
I am using on my server the following stuff : rsync -avl --delete --exclude-from=rsync_devel_no_exc.conf sunsite.uio.no::Mandrake-devel/contrib/ /home/mdk/mdk-current/contrib/ | tee -a cooker.log and rsync -avl --delete --exclude-from=rsync_devel_no_exc.conf sunsite.uio.no::Mandrake-devel/cooker/ /home/mdk/mdk-current/cooker/ | tee -a cooker.log With : $ cat rsync_devel_no_exc.conf alpha/ ppc/ sparc/ other/ ia64/ projects/ mandrakefreq/ cookfire/ unsupported/ cooker/SRPMS/ contrib/SRPMS/ SRPMS/ and: $ ls cooker.log mdk-current/ rsync_devel_no_exc.conf tmp/ Then you include a cron job for the two first comands. Be careful that the mirror may not work or be overloaded. I use that because I don't have Perl installed on the machine, if you have PERL use the script provide by David Walser, it is easier BR Laurent