#!/bin/csh -f # sync's the web site from seth ws to www.inscoe.org # globals set newfile = "/tmp/inscoeweb.tar" set oldfile = "/tmp/inscoeweb_old.tar" # of course these have to be set correctly set user "xxxxxx@xxxxxxxxx@xxxxxxxxxx" set pass "xxxxxxx@xxxxxxxxxx" # tar up web source on seth first /bin/tar cvf ../$newfile *.htm /bin/tar cvf ../$newfile *.cgi /bin/tar cvf ../$newfile *.dat /bin/tar cvf ../$newfile *.txt /bin/tar cvf ../$newfile *.mid /bin/tar cvf ../$newfile *.wav /bin/tar cvf ../$newfile *.pl /bin/tar cvf ../$newfile *.gif /bin/tar cvf ../$newfile *.jpg /bin/compress $newfile # get backup of current web site ~kinscoe/scripts/syncweb $newfile $oldfile # cleanup and you are done /bin/rm -f $newfile exit