Skip to content

Instantly share code, notes, and snippets.

View pvoo's full-sized avatar

Paul van Oorschot pvoo

View GitHub Profile
@pvoo
pvoo / migrate_ga4_bigquery_data.sh
Created October 26, 2023 13:55
Migrate GA4 in bigquery between projects
#!/bin/bash
# Define the date range
start_date="20221025"
end_date="20231023"
current_date="$start_date"
# Loop through each date in the range
while [[ "$current_date" -le "$end_date" ]]
do