find and remove code example
Example 1: linux find and delete files with name
$ find -type f -name '*install*' -delete
Example 2: show directories before deleting them find unix
find . -iname .DS_Store -delete -print
$ find -type f -name '*install*' -delete
find . -iname .DS_Store -delete -print