save files in activities/ directory (without timestamp)
This commit is contained in:
parent
c8c45c62e7
commit
cd5728715c
@ -48,8 +48,8 @@ For each activity, these files are stored:
|
|||||||
- an activity FIT file (binary) (if available -- the activity may have
|
- an activity FIT file (binary) (if available -- the activity may have
|
||||||
been entered manually rather than imported from a Garmin device).
|
been entered manually rather than imported from a Garmin device).
|
||||||
|
|
||||||
All files are written to the same directory (``activities/<timestamp>/``
|
All files are written to the same directory (``activities/`` by default).
|
||||||
by default). Each activity file is prefixed by its upload timestamp and its
|
Each activity file is prefixed by its upload timestamp and its
|
||||||
activity id.
|
activity id.
|
||||||
|
|
||||||
|
|
||||||
|
@ -40,9 +40,8 @@ if __name__ == "__main__":
|
|||||||
"--password", type=str, help="Account password.")
|
"--password", type=str, help="Account password.")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--destination", metavar="DIR", type=str,
|
"--destination", metavar="DIR", type=str,
|
||||||
help=("Destination directory for downloaded activities. "
|
help=("Destination directory for downloaded activities. Default: "
|
||||||
"Default: ./activities/<timestamp>/"),
|
"./activities/"), default=os.path.join(".", "activities"))
|
||||||
default=os.path.join(".", "activities", datetime.now().isoformat()))
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--log-level", metavar="LEVEL", type=str,
|
"--log-level", metavar="LEVEL", type=str,
|
||||||
help=("Desired log output level (DEBUG, INFO, WARNING, ERROR). "
|
help=("Desired log output level (DEBUG, INFO, WARNING, ERROR). "
|
||||||
|
Loading…
Reference in New Issue
Block a user