On Sat, Nov 29, 2008 at 13:38:15 -0600, Thomas Cameron <thomas.cameron@xxxxxxxxxxxxxxx> wrote: > > Hrm - I added that and reran the sync but since each rsync job is > separate, it isn't hardlinking between the directories. I think I need > to mess around with the rsycn command so that it encompasses both the > i386 and the x86_64 directories in on sync. Off to play with the > syntax, I guess. I needed to play around with this and get it set up to use Everything, Updates and Updates-Testing instead of using Rawhide + Koji. As a bonus I also have it pulling in RPMFusion in one rsync for both x86_64 and i386 in case you want that. #!/bin/sh RELEASE=10 BASEDIR=/home/f${RELEASE} FEDORA=rsync://mirror.hiwaay.net/fedora-linux/ FUSION=rsync://fr2.rpmfind.net/linux/rpmfusion/ echo -e "\nSyncing local Fedora ${RELEASE} mirrors ...\n" rsync -rltHvz --delete-after --include=/releases --include=/updates --exclude=/'*' --include=/releases/${RELEASE} --exclude=/releases/'*' --include=/releases/${RELEASE}/Everything --include=/releases/${RELEASE}/Fedora --exclude=/releases/${RELEASE}/'*' --include=/releases/${RELEASE}/Everything/i386/ --include=/releases/${RELEASE}/Everything/x86_64/ --exclude=/releases/${RELEASE}/Everything/'*' --include=/releases/${RELEASE}/Everything/i386/os/ --include=/releases/${RELEASE}/Everything/x86_64/os/ --exclude=/releases/${RELEASE}/Everything/i386/'*' --exclude=/releases/${RELEASE}/Everything/x86_64/'*' --include=/releases/${RELEASE}/Fedora/i386 --exclude=/releases/${RELEASE}/Fedora/'*' --include=/releases/${RELEASE}/Fedora/i386/iso --exclude=/releases/${RELEASE}/Fedora/i386/'*' --include=/releases/${RELEASE}/Fedora/i386/iso/'*'-netinst.iso --exclude=/releases/${RELEASE}/Fedora/i386/iso/'*' --include=/updates/${RELEASE} --include=/updates/testing --exclude=/updates/'*' --include=/u pdates/${RELEASE}/i386 --include=/updates/${RELEASE}/x86_64 --exclude=/updates/${RELEASE}/'*' --exclude=/updates/${RELEASE}/'*'/debug --include=/updates/testing/${RELEASE} --exclude=/updates/testing/'*' --include=/updates/testing/${RELEASE}/i386 --include=/updates/testing/${RELEASE}/x86_64 --exclude=/updates/testing/${RELEASE}/'*' --exclude=/updates/testing/${RELEASE}/'*'/debug ${FEDORA} ${BASEDIR} echo -e "\nSyncing local RPM Fusion Fedora ${RELEASE} mirrors ...\n" rsync -rltHvz --delete-after --include=/'*'free --exclude=/'*' --include=/'*'free/fedora --exclude=/'*'free/'*' --include=/'*'free/fedora/releases --include=/'*'free/fedora/updates --exclude=/'*'free/fedora/'*' --include=/'*'free/fedora/releases/${RELEASE} --exclude=/'*'free/fedora/releases/'*' --include=/'*'free/fedora/releases/${RELEASE}/Everything --include=/'*'free/fedora/releases/${RELEASE}/Fedora --exclude=/'*'free/fedora/releases/${RELEASE}/'*' --include=/'*'free/fedora/releases/${RELEASE}/Everything/i386/ --include=/'*'free/fedora/releases/${RELEASE}/Everything/x86_64/ --exclude=/'*'free/fedora/releases/${RELEASE}/Everything/'*' --include=/'*'free/fedora/releases/${RELEASE}/Everything/i386/os/ --include=/'*'free/fedora/releases/${RELEASE}/Everything/x86_64/os/ --exclude=/'*'free/fedora/releases/${RELEASE}/Everything/i386/'*' --exclude=/'*'free/fedora/releases/${RELEASE}/Everything/x86_64/'*' --include=/'*'free/fedora/releases/${RELEASE}/Fedora/i386 --exclude=/'*'free/ fedora/releases/${RELEASE}/Fedora/'*' --exclude=/'*'free/fedora/releases/${RELEASE}/Fedora/i386/'*' --include=/'*'free/fedora/updates/${RELEASE} --include=/'*'free/fedora/updates/testing --exclude=/'*'free/fedora/updates/'*' --include=/'*'free/fedora/updates/${RELEASE}/i386 --include=/'*'free/fedora/updates/${RELEASE}/x86_64 --exclude=/'*'free/fedora/updates/${RELEASE}/'*' --exclude=/'*'free/fedora/updates/${RELEASE}/'*'/debug --include=/'*'free/fedora/updates/testing/${RELEASE} --exclude=/'*'free/fedora/updates/testing/'*' --include=/'*'free/fedora/updates/testing/${RELEASE}/i386 --include=/'*'free/fedora/updates/testing/${RELEASE}/x86_64 --exclude=/'*'free/fedora/updates/testing/${RELEASE}/'*' --exclude=/'*'free/fedora/updates/testing/${RELEASE}/'*'/debug ${FUSION} ${BASEDIR} -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines