The script is simple - it just downloads yesterday's daily report or some other day depending on the parameters and then unzips. The script is available here from github.
Gets yesterdays's report
Usage: suck.sh 20110822
Gets the report from 22nd August 2011
The auto ingress tool downloads daily or monthly reports from iTunes Connect using a java class. It requires Java 1.6 or later. The tool can be downloaded here, as reported in the App Store Sales and Trends Guide. This is just a java class. Put it in a folder you want the reports delivered to and run the script.