Re: [Gpsbabel-code] Batchprocessing for conversion .log to .gpx
Brought to you by:
robertl
From: Robert L. <rob...@gp...> - 2009-08-21 03:58:28
|
On Thu, Aug 20, 2009 at 5:30 AM, edde kerner <edd...@ya...> wrote: > Hello out there, > > is there anyone to have an applescript or what to batch-convert my hundreds > of .log-files into .gpx-files? After each vacation there are many too many > .log-files on the tagger. I guess the advanced-mode of gpsbabel+ must be > something like that – but Ican’t find out how it works...? > I don't do Applescript, but it's trivial to shell script such tasks. Here's a starting recipe. Sweeten to taste. for f in *.log do # Rename the output file o=${f/.log/.gpx} gpsbabel -i whateverinputformat -f $f -o gpx -F $o done |