Tigge/antfs-cli

Change where the files save

Closed this issue · 3 comments

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.

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.

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.

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