notes/Find and Delete files and folders-DUfL0bVx.sh
#find and delete files

find -name 59.txt -delete

#If you want to make sure you only delete files and not folder

find -type f -name 59.txt -delete

#if match is a folder the above won't work

#so pass the matches to a command to execute

find -name folder2 -exec rm -rf {} +

#if you want to make sure you only delete folders and not files
find -type d -name folder2 -exec rm -rf {} +

syntax highlighted by Code2HTML, v. 0.9.1