Batchprocessing for conversion .log to .gpx

View: New views
2 Messages — Rating Filter:   Alert me  

Batchprocessing for conversion .log to .gpx

by edde kerner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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...?

Thanx, edde


     

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gpsbabel-code mailing list  http://www.gpsbabel.org
Gpsbabel-code@...
https://lists.sourceforge.net/lists/listinfo/gpsbabel-code

Re: Batchprocessing for conversion .log to .gpx

by Robert Lipe-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Thu, Aug 20, 2009 at 5:30 AM, edde kerner <edde_kerner@...> 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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gpsbabel-code mailing list  http://www.gpsbabel.org
Gpsbabel-code@...
https://lists.sourceforge.net/lists/listinfo/gpsbabel-code