cd /some/path

#Clean Apple Stuff

find . -type f -name ".AppleDouble" -exec rm {} \;
find . -type f -name "._*" -exec rm {} \;
find . -type f -name ".DS_Store" -exec rm {} \;

#Clean IIS, Windows and Shapoint Stuff

find . -type d -name "_w" -exec rm -rf {} \;
find . -type d -name "_t" -exec rm -rf {} \;
find . -type d -name "Forms" -exec rm -rf {} \;
find . -type f -name "Thumbs.db" -exec rm {} \;