Delete file with specific pattern recursive ?
We could use find + xargs to make it happen.
For example, I would like to delete file with file name “.DS_Store” and “._” we could execute the code like below
find . -name ".DS_Store" -print0 | xargs -0 rm -rfÂ
find . -name "._*" -print0 | xargs -0 rm -rf