Terminal Tip: Removing hidden files recursively

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

find . -name ._\* -print0 | xargs -0 rm -f
One Comment Add yours

Leave a Reply

Your email address will not be published. Required fields are marked *