#!/usr/bin/ksh # $HeadURL$ $LastChangedRevision$ VERSION="UNKNOWN" TAG=`date +%Y-%m-%d-%H-%M` echo "checking out ..." # This will get it all out svn co -q http://dione/svn $TAG # Dump properties into non-SVN-style output echo "dumping properties ..." ( cd $TAG && svn -Rv pl . ) > $TAG.pl # Turn WC into export echo "converting WC to export ..." find $TAG -name .svn | xargs rm -fr echo "tarring up ..." tar cf - $TAG | gzip > $TAG.gz echo "cleaning up ..." rm -fr $TAG echo "size is `du -sk $TAG.gz | awk '{ print $1 }'` Kb"