Skip to main content
  1. Posts/

Terminal Tip: Removing hidden files recursively

Clean up .DS_Store and other hidden files with powerful find command

If you need to remove all those hidden ‘.files’ from some folder recursively, you can cd into the directory where you want to remove them and use the code below:

1
find . -name ._\* -print0 | xargs -0 rm -f