#!/bin/bash # $HeadURL$ $LastChangedRevision$ echo "creating a test route containing slashes in route name (not file name) ..." cat > x.gpx <<'EOF' 010 - Czechia (Blah/Blah to Foo/Bar) R285801 R285802 EOF echo "files before:" find . -type f | sort echo "calling gpxsplit-chunk ..." gpxsplit-chunk --count=250 x.gpx || true echo "files after:" find . -type f | sort echo "all done"