3 # $Id: mklslar,v 1.3 2001-09-24 21:47:54 rmurray Exp $
12 echo "Removing any core files ..."
13 find -type f -name core -print0 | xargs -0r rm -v
15 echo "Checking permissions on files in the FTP tree ..."
16 find -type f \( \! -perm -444 -o -perm +002 \) -ls
17 find -type d \( \! -perm -555 -o -perm +002 \) -ls
19 echo "Checking symlinks ..."
22 echo "Creating recursive directory listing ... "
24 TZ=UTC ls -lR | grep -v Archive_Maintenance_In_Progress > .$filename.new
26 if [ -r $filename ] ; then
27 mv -f $filename $filename.old
28 mv -f .$filename.new $filename
29 rm -f $filename.patch.gz
30 diff -u $filename.old $filename | gzip -9cfn - >$filename.patch.gz
33 mv -f .$filename.new $filename
36 gzip -9cfN $filename >$filename.gz