SOD is a Java program to automatically select, download, and pre-process seismic waveform data.
Homepage: http://www.seis.sc.edu/sod/
Documentation:
Some ready-to-use recipes: https://github.com/seisman/SODrecipes