Scripting

Recursive Delete

To Delete files matching a pattern.

You cannot use any form of ls as these do not give full pathnames, so :

find . -name "*.html" -print|xargs rm

works a treat