To the Brass 
Cannon Webboard
Established 1986

Kevin Martin - PO Box 82783 - Portland, OR 97282
Back to Content-Site Update

This script won't make a lot of sense unless you came from the page linked above.

The getcont Unix shell script - production version

From production-1:/root/bin

#!/bin/sh
cd /app
scp production-4:/tmp/$1.tar /app || exit 2
rm -rf /app/htdocs
rm -rf /app/php*
tar xf $1.tar
find . -type d | xargs -i chmod 775 {}
find . -type f | xargs -i chmod 664 {}
echo Done

Please Note

If a search engine dropped you directly into this document, you should go to the index page to find out what you're reading. This document is a record of a project from 1999-2000 -- it is not a current guide to installing any software product.