hi,

anyone got this script working to mirror only i386 arch?

I have found this, but I would like to get all i386 stable/unstable mirrored.

thanks in advance,

Dinesh.

# EXCLUDE is a list of parameters listing patterns that rsync will exclude.
# The following example would exclude mostly everything:
#EXCLUDE="\
#  --exclude binary-alpha/ --exclude binary-arm/ --exclude binary-i386/ \
#  --exclude binary-m68k/ --exclude binary-powerpc/ --exclude binary-sparc/ \
#  --exclude binary-ia64/ --exclude binary-mips*/ --exclude binary-hppa/ \
#  --exclude binary-sh/ --exclude binary-s390/ \
#  --exclude *_alpha.deb --exclude *_arm.deb --exclude *_i386.deb \
#  --exclude *_m68k.deb --exclude *_powerpc.deb --exclude *_sparc.deb \
#  --exclude *_ia64.deb --exclude *_hppa.deb --exclude *_sh.deb \
#  --exclude *_mips.deb --exclude *_mipsel.deb --exclude *_s390.deb \
#  --exclude stable/ --exclude testing/ --exclude unstable/ \
#  --exclude source/ \
#  --exclude /contrib/ --exclude /non-free/ \
# "

# With a blank EXCLUDE you will mirror the entire archive.

EXCLUDE="\
--exclude binary-alpha/ --exclude binary-arm/ \
--exclude binary-m68k/ --exclude binary-powerpc/ --exclude binary-sparc/ \
--exclude binary-ia64/ --exclude binary-mips*/ --exclude binary-hppa/ \
--exclude binary-sh/ --exclude binary-s390/ \
--exclude stable/ --exclude unstable/ --exclude source/ \
--exclude potato/ --exclude potato-proposed-updates/ \
--exclude sid/ --exclude sid-proposed-updates/ \
--exclude *.tar.gz \
--exclude *_alpha.deb --exclude *_arm.deb \
--exclude *_m68k.deb --exclude *_powerpc.deb --exclude *_sparc.deb \
--exclude *_ia64.deb --exclude *_hppa.deb --exclude *_sh.deb \
--exclude *_mips.deb --exclude *_mipsel.deb --exclude *_s390.deb \
--exclude *_alpha.udeb --exclude *_arm.udeb \
--exclude *_m68k.udeb --exclude *_powerpc.udeb --exclude *_sparc.udeb \
--exclude *_ia64.udeb --exclude *_hppa.udeb --exclude *_sh.udeb \
--exclude *_mips.udeb --exclude *_mipsel.udeb --exclude *_s390.udeb \
--exclude *hurd-i386.udeb \
--exclude *.diff.gz --exclude *.dsc  --exclude *hurd-i386.deb \
--exclude *nondebbin.tar.gz --exclude *orig.tar.gz \
--exclude *disks-arm/ --exclude *disks-alpha/ --exclude *disks-hppa/ \
--exclude *disks-ia64/ --exclude *disks-m68k/ --exclude *disks-mips/ \
--exclude *disks-mipsel/ --exclude *disks-s390/ --exclude *disks-sparc/ \
"

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to