Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Download/update daily Sabayon Linux image via rsync
# List of mirrors: http://www.sabayon.org/download
# Available files: http://na.mirror.garr.it/mirrors/sabayonlinux/iso/daily/
# Settings:
R=rsync://na.mirror.garr.it/sabayonlinux/iso/daily
# R=rsync://ftp.sh.cvut.cz/sabayon/iso/daily # frozen on 2010-05-15
N=Sabayon_Linux_DAILY_
T=. # target directory
I=amd64_K # chosen platform and environment (K..KDE, G..Gnome, LXDE, XFCE)
# List files
rsync -av "$R" || exit $?
# Download/update
rsync -av --progress "$R/${N}$I.iso" "$R/${N}$I.iso.md5" "$T" || exit $?
md5sum -c "$T/${N}$I.iso.md5" || exit $?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment