cloud-platform-insights / autologger

📠 friction log bot
Apache License 2.0
0 stars 0 forks source link

Consolidate upload folders #18

Open davidstanke opened 1 month ago

davidstanke commented 1 month ago

Each clip folder in GCS has its own timestamped parent folder:

image

Let's put all the clip folders in the same parent folder

upload_to_drive_gcs(
                project_id=project_id,
                bucket_name=bucket_name,
                c=c,
                folder_prefix=topic + str(int(time.time())),  # this timestamp is being generated for each clip; refactor to use the same timestamp for all clips (within one script execution)
                source_dir=clips_path,
                subdir=subdir
            )