Skip to content

Instantly share code, notes, and snippets.

@narbs
Created August 24, 2011 13:34
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save narbs/1168069 to your computer and use it in GitHub Desktop.
iTunes connect auto ingress bash script
#!/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