logcut This script cuts the GPX log on a daily basis. You can get YYYYMMDD.gpx files. %ruby logcut.rb file.gpx tested on GPSBabel's GPX files.