File do.rsync of Package Meta
#!/bin/bash -x
#
# Get texlive SVN tree from tug.org
#
# See also ftp://ftp.tug.org/texlive/Contents/live/source/
#
# Author: Werner Fink <werner@suse.de>
if test $# -eq 0 ; then
echo ${0##*/}: Please specify the tree you like get, --source or --texmf 1>&2
exit 1
fi
if test "${1%%[a-z]*}" = "--" ; then
opt="$1"
shift
fi
export RSYNC_RSH=ssh
if test "$opt" = "--source" ; then
rsync -av -H -S --stats --no-motd \
--safe-links -l --delete-excluded \
--delete --cvs-exclude \
--exclude=.svn/ \
--exclude=.gitignore \
--exclude=.github/ \
--exclude=texk/dvi2tty/ \
--exclude=win32/ \
--exclude=extra/xz/ \
--exclude=libs/freetype/ \
--exclude=libs/freetype2/ \
--exclude=libs/gd/ \
--exclude=libs/libpng/ \
--exclude=libs/ncurses/ \
--exclude=libs/poppler/ \
--exclude=libs/t1lib/ \
--exclude=libs/xpdf/ \
--exclude=libs/zlib/ \
--exclude=libs/zziplib/ \
--exclude=utils/dialog/ \
--exclude=utils/t1utils/ \
tug.org::tldevsrc/Build/source/ ${1+"$@"}
else
rsync -av -H -S --stats --no-motd \
--safe-links -l --delete-excluded \
--delete \
--exclude=archive/floatflt\*.tar.xz \
--exclude=archive/sphack\*.tar.xz \
--exclude=archive/\*installfont\*.tar.xz \
--exclude=archive/\*texlive-docindex\*.tar.xz \
--exclude=archive/texlive-docindex\*.tar.xz \
--exclude=archive/\*wintools\*.tar.xz \
--exclude=archive/\*texworks\*.tar.xz \
--exclude=archive/\*.win32\*.tar.xz \
--exclude=archive/\*.windows\*.tar.xz \
--exclude=archive/\*.\*-\*.tar.xz \
--include=tlpkg/ \
--include=tlpkg/texlive.tlpdb.xz \
--include=archive/ \
--include=archive/\*.tar.xz \
--exclude=\* \
tug.org::tlnet/ ${1+"$@"}
# tug.org::tlpretest/ ${1+"$@"}
# ftp.cstug.cz::pub/tex/CTAN/systems/texlive/tlnet/ ${1+"$@"}
# ftp.cstug.cz::pub/tex/local/tlpretest/ ${1+"$@"}
# ctan.ijs.si::CTAN/systems/texlive/tlnet/ ${1+"$@"}
# ftp.ctan.org::CTAN/systems/texlive/tlnet/ ${1+"$@"}
# ctan.ijs.si::mirror/tlnet/ ${1+"$@"}
fi