Permalink
Browse files

added chngwaypoint w/ firefox usage example shell script

  • Loading branch information...
1 parent 8798e29 commit 98575d1481d3448ae6b7883836aaa74c34ddf9f1 Bernhard Tittelbach committed Feb 20, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 chngwaypoint_w_webbrowser_filemanager.sh
View
10 chngwaypoint_w_webbrowser_filemanager.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+# Associate this script with *.gpx files in your webbrowser (or filemanager)
+# and you can directly edit (or not) any downloaded gpx unknown cache file
+# which will then get automatically saved to your GPX collection folder
+
+GCTOOLS_PATH=~/gctools
+GPX_SAVE_PATH=~/AllMyGPXFiles/
+[ -x ${GCTOOLS_PATH}/chngwaypoint.py ] || exit 1
+[ -d "$GPX_SAVE_PATH" ] || mkdir -p "$GPX_SAVE_PATH"
+${GCTOOLS_PATH}/chngwaypoint.py --gui --rename --savedir "$GPX_SAVE_PATH" "$@"

0 comments on commit 98575d1

Please sign in to comment.