This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
OlderNewer