#!/usr/local/bin/bash

if [ $# -ne 1 ]
then
	echo "usage: update_dir \"your comment\""
	exit
fi

comment=$1

for i in `ls`
do
	if [ -w $i ]
	then
		echo $comment | update $i
	fi
done
