Created
August 24, 2011 13:34
-
-
Save narbs/1168069 to your computer and use it in GitHub Desktop.
iTunes connect auto ingress bash script
This file contains 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 | |
itc_username=some_username | |
itc_password=some_password | |
itc_account=12345678 | |
yesterday=`date -v-1d +"%Y%m%d"` | |
if [ "$1" == "" ]; then | |
echo downloading file for yesterday: $yesterday | |
java Autoingestion $itc_username $itc_password $itc_account Sales Daily Summary $yesterday | |
else | |
echo downloading file for: $1 | |
java Autoingestion $itc_username $itc_password $itc_account Sales Daily Summary $1 | |
fi | |
gunzip *.gz | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment