#! /bin/csh -fe # Creates the empty file ".www_browsable" in all sub-directories of # the specified directory. # J. Stolfi 96-04-28 set path = ( /usr/ucb /usr/bsd /usr/bin /bin ) if ( $#argv != 1 ) then echo "Usage: $0 " exit 1 endif set dir = "$1" /usr/bin/find ${dir} \ -type d \ -print \ -exec /bin/chmod a+rx {} \; \ -exec /bin/touch '{}'/.www_browsable \;