pe-st / garmin-connect-export

Download a copy of your Garmin Connect data, including stats and GPX tracks.
MIT License
364 stars 75 forks source link

New parameter --subdir DIR for activity files #21

Closed chs8691 closed 5 years ago

chs8691 commented 5 years ago

Exported files now can be saved in subdirectories, optionally grouped by year (and/or month) of the activitiy start time. Like now, the root directory can be set with the parameter 'directory', which is the root directory for DIR. --subdir supports the two placeholders {YYYY} and {MM} which can be used within DIR. For instance: --directory downloads ... --subdir {YYYY} --> downloads/2019/ --subdir {YYYY}/{MM} --> downloads/2019/03/ --subdir myTcxFiles/{YYYY} -f tcx --> downloads/myTcxFiles/2019/ --subdir activities{YYYY}/GPX -f gpx --> downloads/activities2019/GPX/

pe-st commented 5 years ago

I didn't have time so far to study your PR, will take some more time...

chs8691 commented 5 years ago

Hi Peter! This is absolutely no problem!

pe-st commented 5 years ago

Included in 2.3.1, thanks!