home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] GPX Files

On Thursday, July 03, 2014 12:34:52 PM Bruce wrote:
> OCLUG,
> 
> I need script would delete all my found caches in a
> GPX file. This is a XML based file format.


Have you tried gpsbabel?
if you run the pocket querie of your found caches then this should do it


*gpsbabel -i gpx -f caches.gpx  -f found.gpx -x duplicate,shortname,all -o gpx -F filtered.gpx*

where caches.gpx is the gpx file that you want to clean up amd found.gpx is the output of your 
found pocket querie

If you've already removed some of the found queries than you'll run it a second time

I just came across a similar script to merge all my pocket queries and remove duplicates.




-- 
Collector of vintage computers http://www.ncf.ca/~ba600

references

message navigation