I had to come up with a way to run a bunch of rsync commands, and the only shell scripts I've ever really made have been extremely simple (just for running wine commands mostly). Since I needed to make what amounted to a small program for OpenBSD, I headed to Google and found a great shell scripting site:
 http://www.freeos.com/guides/lsst/index.html
It looks like some other sites have this information as well, but this site was closest to the top without being bombarded with ads.