Thanks to everyone who helped me out with my scripting - I now have a script that does what I want. The next step is that I'd like the script to execute at a specified time (e.g. 10pm) and for the STDOUT of the script to be e-mailed on completion of the script. If anyone has any hints or tips, I'd appreciate it. Thanks, Andrew