Revision: | 1.1 |
Committed: | Sun Dec 9 01:29:50 2001 UTC (23 years ago) by tdb |
Content type: | application/x-sh |
Branch: | MAIN |
Log Message: | Script used to generate tarfiles of the cvs repository (for backing up). |
# | User | Rev | Content |
---|---|---|---|
1 | tdb | 1.1 | #!/bin/sh |
2 | |||
3 | CVSROOT="/cvs/i-scream" | ||
4 | TARFILE="/home/sites/www.i-scream.org.uk/web/i-scream-cvs.tar" | ||
5 | |||
6 | /bin/rm -f ${TARFILE} | ||
7 | /bin/rm -f ${TARFILE}.gz | ||
8 | |||
9 | cd ${CVSROOT} | ||
10 | |||
11 | /bin/tar -cvf ${TARFILE} * >/dev/null | ||
12 | /usr/bin/gzip -9 ${TARFILE} | ||
13 | |||
14 | /bin/chown iscream:site8 ${TARFILE}.gz |