This article was peer reviewed by Lukas White. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be! It is quite common during the course of a project to find yourself needing to write custom scripts for performing a variety of actions.
Full article