#!/bin/bash cd /var/www/hoople.org # change to the hoople directory. export TEMPO_FILE="$(mktemp "$TMP/zz_temp_3rdparty.XXXXXX")" # specify where we keep the file until we're ready to move it. export XC='--exclude=' tar -czf $TEMPO_FILE hoople/3rdparty $XC"*.svn/*" $XC"*CVS/*" $XC"*/*.tar.gz" $XC"*/*.zip" # exclude the file names we never want to see. # move the file into its well-known location. mv -v $TEMPO_FILE 3rdparty_support.tar.gz