Mark Chen's blog
#!/bin/bashfor f in `find . -name "*.foo" -type f`do newname=`echo "$f" | sed "s/\.foo$//"` mv $f $newname echo "mv $f to $newname"doneexit 0
$ sudo /Library/Application\ Support/VMWare Fusion/boot.sh –-restart