If you are an iPhone developer you probably know all about the fun of having to download pretty much every day the previous’ day sales report from iTunesConnect, since after a week it’s gone.
Started to look around for an automated tool and found some great pointer over at just2me.com — since I wanted to grab the raw data I went for the “Auto download reports script”. The versions available for download over there work great on OSx, I tweaked them a bit to have them working on linux flavors using the gnu implementation of the “date” command (i.e. most non-OSx distributions).
If you wish to set them up on a fedora/ubuntu/redhat/etc. box and having run daily in “set and forget” mode (like I did), you can grab the tweaked-up versions from this link. Full credits go to their original creator (rmaddy)