Skip to content

Instantly share code, notes, and snippets.

View donnydavis's full-sized avatar

Donny Davis donnydavis

View GitHub Profile
@didip
didip / download-centos-mirror.sh
Last active March 13, 2019 13:53
Simple script to download CentOS mirror. You can totally put this in cron.
#!/bin/bash
# Number of arguments should be at least 1
if [ $# -lt 1 ]; then
echo "Usage: $0 centos-version-number"
exit 1
fi
VERSION=$1