2010/7/8 <humdingerb@xxxxxxxxxxxxxx>: > Author: humdinger > Date: 2010-07-08 20:03:41 +0200 (Thu, 08 Jul 2010) > New Revision: 37435 > Changeset: http://dev.haiku-os.org/changeset/37435/haiku > > Added: Here's a simple bash script that'll set the mime-type of *.html to 'text/html' normally i do : cd haiku-src/docs ; bash ../../scriptname {{{ #!/bin/bash for file in `find . -name "*.html"`; do hasProperty=`svn propget svn:mime-type "$file"` #if [ $hasProperty ] ; then # echo ++ $file has property $hasProperty #else if ! [ $hasProperty ] ; then #echo -- $file does NOT have property svn propset svn:mime-type "text/html" "$file" fi done }}} --mmadia