I\'m trying to do something which is probably very simple, I have a directory structure such as:
dir/ subdir1/ subdir2/ file1 file2
With GNU's find you can use the -delete action:
find
-delete
find dir -type f -delete
With standard find you can use -exec rm:
-exec rm
find dir -type f -exec rm {} +