just a link to my old project osm-bundler: https://code.google.com/p/osm-bundler/