Skip to content

Instantly share code, notes, and snippets.

View onurkose's full-sized avatar
😄

Onur Köse onurkose

😄
View GitHub Profile
#!/bin/bash
# Mixpanel batch import script
# It allows you to import data from one Mixpanel project to another
# Usage: ./mixpanel_batch_import.sh input_file.json project_id api_secret
# Api secret is base64 encoded string generated using your Mixpanel Username&Secret
if [ "$#" -lt 3 ]; then
echo "Usage: $0 <input_file.{json/txt}> <project_id> <api_secret>"
exit 1