Zitat von bananensuppe
Beitrag anzeigen
Code:
@echo off
echo.
echo Start processing the gpx files in this directory with gpsbabel.
echo Check for gpsbabel version:
gpsbabel.exe -V
echo Cleaning all gpx files - removing waypoints and routes, leaving only tracks...
echo.
for %%f in (*.gpx) do (
echo Processing file: %%~f with gpsbabel
echo Writing cleaned file to %%~nf.cleaned.gpx
gpsbabel.exe -i gpx -f "%%~f" -x nuketypes,waypoints,routes -o gpx -F "%%~nf.cleaned.gpx"
echo.
)
gpsbabel muss natürlich im PATH eingetragen sein, sonst wird es nicht gefunden...

Einen Kommentar schreiben: