Tool to download caching information and put it into a GPX file
http://code.google.com/p/geotoad/
Since version 3.14.1 it's possible to enter the distance in km'ers by adding km after the number
3.14.3:
http://www.gpsbabel.org/readme.html
geotoad.rb -cacheType=traditional --difficultyMax=1.5 --distanceMax=30 --format=gpx --output='C:/Users/eborrol/Desktop/' --terrainMax=2 --userExclude='-RoBo' heinsberg