How to delete ._ file on mac?

I got this ._ file name after extracting zip file on directory. In my case it was automatically created after unzipping. Here is how I delete that unwanted files.

On your mac terminal run the command:

dot_clean /Volumes/directory/path

I always wanted to delete this in linux way and you can still perform this on your mac terminal.

Step One: browse on the directory where the ._ file name using the command:

cd /Volume/path

Step Two A: When you are in the directory that you want to delete all the files with name ._, just run the command:

find . -name '._*' -type f -delete

Step Two B: If you want do delete file recursively.

find . -type d | xargs dot_clean -m

find . -type d - will go to each directory recursively and xargs dot_clean -m will perform delete.

That how easy it is to delete ._ files on your mac

dlysen: I have a dream too! It’s about making a difference within me and to help others to do the same. That’s the kind of dream that gets better the more people you share with it. And I found a whole bunch of people who share the same dream, and that kind of makes us like a family. Follow me on Google+
Related Post