Upload FIT, TCX, GPX, SRM, HRM, PWX, SLF and SLM files to Velo Hero from the command line.
- Bash shell
- curl
Most Linux distributions and macOS meet the requirements.
- Sign up at https://app.velohero.com/sso
- Get yourself a private single sign-on key. That's the long string.
- Create a
.veloherorc
file in your home directory. Save the SSO key in this file:
VELOHERO_SSO_KEY=[insert your own]
Upload a single file:
veloheroup file.fit
Use find and xargs to upload everything:
find -iname \*.fit | xargs veloheroup
Inspired by stravaup https://github.com/mpolla/stravaup