#!/bin/sh
find -d . | while read f
do
dn=${f%/*}
bn=${f##*/}
nbn=`echo "${bn}" | tr '><|?*/\:' _`
test $? -eq 0 || continue
test "${bn}" != . -a "${dn}/${bn}" != "${dn}/${nbn}" && mv "${dn}/${bn}" "${dn}/${nbn}"
done