Re: [OCLUG-Tech] GPX Files

2014-07-03 Thread Bruce
Shawn & Jean-Luc, I'm aware of the two option you propose, I've just know idea how to implement them. == Bruce On Thursday, July 03, 2014 03:07:43 PM linux-requ...@lists.oclug.on.ca wrote: > Message: 2 > Date: Thu, 03 Jul 2014 12:41:14 -0400 > From: Jean-Luc cooke > To: linux@lists.oclug.on.ca

Re: [OCLUG-Tech] GPX Files

2014-07-03 Thread Bruce
Mike, I'm very familiar in fact I'm try to use gpsbabel to do what you suggested with the command: gpsbabel -i gpx -f myarea.gpx -i gpx -f findsdww.gpx -i gpx -f geoclo.gpx -i gpx -f gisguy.gpx -i gpx -f Greely.gpx -i gpx -x duplicate,shortname,all -o gpx -F todolist.gpx This is suppose to wo

Re: [OCLUG-Tech] GPX Files

2014-07-03 Thread Mike
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

Re: [OCLUG-Tech] GPX Files

2014-07-03 Thread Shawn H Corey
On Thu, 03 Jul 2014 12:41:14 -0400 Jean-Luc cooke wrote: > https://www.google.ca/search?q=bash+find+matching > > find / -name "*.gpx" | xargs rm > > This assumed there are no spaced in the paths produced by "find". This version handles spaces in names. Also, use single quotes. Double quotes wi

Re: [OCLUG-Tech] GPX Files

2014-07-03 Thread Jean-Luc cooke
https://www.google.ca/search?q=bash+find+matching find / -name "*.gpx" | xargs rm This assumed there are no spaced in the paths produced by "find". On 03/07/14 12:34, Bruce wrote: OCLUG, I need script would delete all my found caches in a GPX file. This is a XML based file format. Each entry

[OCLUG-Tech] GPX Files

2014-07-03 Thread Bruce
OCLUG, I need script would delete all my found caches in a GPX file. This is a XML based file format. Each entry starts with WITH A BUNCH OF LINES IN THE MIDDLE, INCLUDING THIS LINE WHICH INDICATES I'VE FOUND THE CACHE. WHAT IS IN BETWEEN THE OPENING AND CLOSING TAGS CAN VARY A LOT. dances