plug your device in and it'll email your latest .fit files to upload@strava.com
pull requests welcome. questions? latchkey@gmail.com
- OS X only
- assumes that you can send email from your desktop
git clone
this repo- if you are running mountain lion (10.8), execute the commands below
mkdir ~/.strava-auto-upload
echo ACTIVITIES=\"/Volumes/GARMIN/Garmin/Activities\" >> ~/.strava-auto-upload/config
echo FROM=\"YOUR_EMAIL_ADDRESS@DOMAIN.COM\" >> ~/.strava-auto-upload/config
echo SUFFIX=\"*.tcx\" >> ~/.strava-auto-upload/config
(This is optional. It depends on if your file has .fit or .tcx files. The default is .fit)- copy
strava.plist
to~/Library/LaunchAgents/strava.plist
- edit
strava.plist
and specify the absolute path to theupload.sh
script and the location of your Activities folder launchctl load ~/Libarary/LaunchAgents/strava.plist
launchctl unload ~/Libarary/LaunchAgents/strava.plist
$HOME/.strava-auto-upload
contains the last file uploaded and a log of everything
there is a bug with postfix configuration with Mountain Lion that causes an error. This fixed it for me:
sudo mkdir -p /Library/Server/Mail/Data/spool
sudo /usr/sbin/postfix set-permissions
sudo /usr/sbin/postfix start
if you can't send email from your desktop (in case port 25 is blocked on your network), setup postfix to send email through your gmail account.
follow these directions for turning off spotlight indexing.
- simple installer
- other platforms?
- strava is working on an upload api and deprecating the email interface