Skip to content

Instantly share code, notes, and snippets.

@iki
Created July 25, 2010 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iki/489414 to your computer and use it in GitHub Desktop.
Save iki/489414 to your computer and use it in GitHub Desktop.
# 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