*NIX Find and Remove files
Remove Dir & Files: find . -name “FILE-TO-FIND”-exec rm -rf {} \;
Remove just Files: find . -type f -name “FILE-TO-FIND” -exec rm -f {} \;
Example: $ find . -type f -name “*.bak” -exec rm -f {} \;
Remove Dir & Files: find . -name “FILE-TO-FIND”-exec rm -rf {} \;
Remove just Files: find . -type f -name “FILE-TO-FIND” -exec rm -f {} \;
Example: $ find . -type f -name “*.bak” -exec rm -f {} \;