Skip to content

Instantly share code, notes, and snippets.

@jtniehof
jtniehof / disconnect.rb
Last active December 19, 2015 10:49 — forked from gljeremy/disconnect.rb
This fork adds an option to specify the activity start date, making it easier to download just the most recent files. Just the date is accepted, or YYYY-MM-DDTHH:MM
#!/usr/bin/env ruby
## disconnect
# ./disconnect.rb -u yourusername [-o /your/path] [-p yourhttpproxyserver] \
# [-d gmt_to_start_from]
#
# This is a command-line utility for the bulk-downloading of run data from
# the connect.garmin.com web application, which has lackluster export
# capabilities.