Use the first to delete directories also second only files
Skip -exec and all after just to search so you dont delete the wrong stuff.
find . -name NAME_TO_FIND -exec rm -rf {} \;
OR
find . -type f -name NAME_TO_FIND -exec rm -f {} \;
Never Give Up
Use the first to delete directories also second only files
Skip -exec and all after just to search so you dont delete the wrong stuff.
find . -name NAME_TO_FIND -exec rm -rf {} \;
OR
find . -type f -name NAME_TO_FIND -exec rm -f {} \;
Leave a Reply