3 # change to the home directory so we can find our files.
6 TEMPO_FILE="$(mktemp "$TMP/zz_temp_hoople2.XXXXXX")"
7 # specify where we keep the file until we're ready to move it.
9 # shortcut for the lengthy exclude parameter.
10 export XC='--exclude='
12 # zip up hoople2, but exclude the file names we never want to see.
13 tar -czf $TEMPO_FILE feisty_meow $XC"*/*.tar.gz" $XC"*/*.zip" $XC"*/waste/*" $XC"*/logs/*" $XC"*/binaries/*"
15 date_string="$(date +"%Y_%b_%e_%H%M" | sed -e 's/ //g')"
17 # now move the newest version into its resting place. this prepares the
18 # feisty_meow package for uploading.
19 mv -v $TEMPO_FILE /var/www/feistymeow.org/feisty_meow_codebase_${date_string}.tar.gz