Delete ._ files using linux command

Spread the love

I found out my files are corrupted files starting with ._
I don’t know why / how these files created but I don’t like all duplicated with trash files.

I guess this is created when I copy files from my mac computer to the server. Any how, I wanted to delete these files.

Solution is simple, run this command then it will delete all the sub directories recursively.

find . -iname '._*' -exec rm -rf {} \;

Facebook Comments

Published by

Titus Choi

I love technology. Working for information technology. Interested in AVR technology. Playing with RC stuff.