Mirroring a repository

More for my own benefit but handy to use.


this script will mirror a yum repository for local use.