I downloaded a project from web.When building the project it produces output files in folder named **Output**.The problem is there are many folders with same name.I need to manually delete the files in all output directories. I used this command find . -type d -name "output" -print It displays the location of all directories with same name. Then i used this command find . -type d -name "output" -delete >find: cannot delete ‘./output’: Directory not empty I don't want to delete the output folder i want to delete all the files under the output folder name.