diff --git a/unifi_protect_backup/cli.py b/unifi_protect_backup/cli.py index efdf5c4..0e6972d 100644 --- a/unifi_protect_backup/cli.py +++ b/unifi_protect_backup/cli.py @@ -109,7 +109,7 @@ def parse_rclone_retention(ctx, param, retention) -> relativedelta: @click.option( '--file-structure-format', envvar='FILE_STRUCTURE_FORMAT', - default="{camera_name}/{event.start:%Y-%m-%d}/{event.end:%Y-%m-%dT%H-%M-%S} {detection_type}.mp4", + default="{camera_name}/{event.start:%Y-%m-%d}/{event.start:%Y-%m-%dT%H-%M-%S} {detection_type}.mp4", show_default=True, help="A Python format string used to generate the file structure/name on the rclone remote." "For details of the fields available, see the projects `README.md` file.",