Tigge / antfs-cli

Extracts FIT files from ANT-FS based sport watches such as Garmin Forerunner 60, 405CX, 310XT, 610 and 910XT.
MIT License
312 stars 76 forks source link

Change where the files save #109

Closed dneal12 closed 9 years ago

dneal12 commented 9 years ago

Is there a way to change where the .fit files save? If I could have the files save into my dropbox folder, I could use tapiriik to easily and automatically sync/upload it to garmin connect, training peaks, strava, etc. I have managed to get the Gamin-Forerunner-610-Extractor to download the .fit files off of my 310XT but have had a difficult time getting GcpUploader to upload the files to garmin connect. Maybe this is already possible and I am just too new to figure it out. Any guidance would be appreciated.

Tigge commented 9 years ago

There are a couple of options here:

  1. Move files with a script (see the SCRIPTING file)
  2. Use a symlink, place folder where you want it and create a link to there from the normal folder
  3. Change the XDG_DATA_HOME env variable before running the program (will still use .config/garmin-forerunner/xxxx/activities or something as a subdir to the specified folder)
  4. Adjust the code, get_filepath function or directly in the on_transport function.

I strongly suggest going route 1 or 2 here though.

For GcpUploader I don't know, but I think someone have managed to get that to run.

dneal12 commented 9 years ago

I was able to GcpUploader to work, and I have to say it is pretty elegant. I created a launcher icon and all I have to do is one click and it pairs with my watch, downloads the .fit files, and then uploads it to garmin connect. Pretty slick.

Tigge commented 9 years ago

Excellent, glad to hear it is working! I'll close this issue then.