# sync-repository.sh: Script zum automatischen Abgleich verschiedener Repositories / Mirrors # # Copyright (C) 2009 Django # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Or, point your browser to http://www.gnu.org/copyleft/gpl.html # # The author can be reached at django[aett]omni128mnet-mail[punkt]de # # The document-page is at http://dokuwiki.nausch.org/doku.php?id=centos:repo-one # # # # CentOS aktuell # # (!!! isos und os auskommentieren wenn 1. mirror gelaufen, da spaeter keine Aenderungen !!!) /usr/bin/rsync -art ftp-stud.fht-esslingen.de::centos/5.3/isos/ /var/www/repository/centos/5/isos/ --exclude x86_64/ --exclude SRPMS/ /usr/bin/rsync -art ftp-stud.fht-esslingen.de::centos/5.3/os/ /var/www/repository/centos/5/os/ --exclude x86_64/ --exclude SRPMS/ # echo "Syncing CentOS 5.3 Updates..." /usr/bin/rsync -art ftp-stud.fht-esslingen.de::centos/5.3/updates/ /var/www/repository/centos/5/updates/ --exclude x86_64/ --exclude SRPMS/ echo "Syncing CentOS 5.3 Extras..." /usr/bin/rsync -art ftp-stud.fht-esslingen.de::centos/5.3/extras/ /var/www/repository/centos/5/extras/ --exclude x86_64/ --exclude SRPMS/ echo "Syncing CentOS 5.3 Centosplus..." /usr/bin/rsync -art ftp-stud.fht-esslingen.de::centos/5.3/centosplus/ /var/www/repository/centos/5/centosplus/ --exclude x86_64/ --exclude SRPMS/ echo "Syncing CentOS 5.3 Fasttrack..." /usr/bin/rsync -art ftp-stud.fht-esslingen.de::centos/5.3/fasttrack/ /var/www/repository/centos/5/fasttrack/ --exclude x86_64/ --exclude SRPMS/ echo "Syncing CentOS 5.3. Addons..." /usr/bin/rsync -art ftp-stud.fht-esslingen.de::centos/5.3/addons/ /var/www/repository/centos/5/addons/ --exclude x86_64/ --exclude SRPMS/ echo "Syncing CentOS 5.3. Contrib..." /usr/bin/rsync -art ftp-stud.fht-esslingen.de::centos/5.3/contrib/ /var/www/repository/centos/5/contrib/ --exclude x86_64/ --exclude SRPMS/ # # # RPMForge Repository # echo "Syncing Repo RPM-Forge Repo..." /usr/bin/rsync -art apt.sw.be::pub/freshrpms/pub/dag/redhat/el5/en/i386/ /var/www/repository/rpmforge/ --exclude RPMS.dag/ --exclude SRPMS.dag/ --exclude x86_64/ --exclude SRPMS/