tcgoetz / GarminDB

Download and parse data from Garmin Connect or a Garmin watch, FitBit CSV, and MS Health CSV files into and analyze data in Sqlite serverless databases with Jupyter notebooks.
GNU General Public License v2.0
1.18k stars 142 forks source link

Custom output directory #126

Closed ghzgod closed 3 years ago

ghzgod commented 3 years ago

Hello tcgoetz, great tool been using it for about 2 years now. Is there a way to specify the output directory etc? When I run the tool it wants my config to exist at /root/.GarminDb/ and HealthData, .config, and .cache also get created in my /root/ directory. This happens even if I run the tool in a different directory. Is this normal behavior or can we change the working directory?

tcgoetz commented 3 years ago

The directories for config and data are defined in https://github.com/tcgoetz/GarminDB/blob/master/garmindb/config.py