#!/bin/sh | |
echo; | |
echo "Remember, this script should NOT be ran on the production "; | |
echo "machine, during the real move. It is for testing only, "; | |
echo "when using snapshots."; | |
echo; | |
snapshot=/home/davidw/files/snapshots/webtools-cvs-5.tgz | |
rm -fr /cvsroot/webtools/* | |
rm -fr /cvsroot/wtp/* | |
cvs --no-verify -d /cvsroot/webtools init | |
cvs --no-verify -d /cvsroot/wtp init | |
echo " Current snapshot: $snapshot"; | |
echo; | |
tar zxf $snapshot -C / | |