Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there a command line to remove all "._foo.html" files in a directory on Unbuntu?

share|improve this question

2 Answers 2

up vote 8 down vote accepted
rm ./._*

more stuff since it must be at least 15 characters.

share|improve this answer
Also, this resource support.apple.com/kb/ht1629 may be helpful in preventing their creation in the first place. –  Chris Nava Jun 23 '10 at 21:14

I use the following command to remove all of those annoying Apple files, but this one also does it recursively through all sub-directories, too:

# find . -iname '._*' -exec rm -rf {} \;
share|improve this answer
+1 I came back to my question after I realized a recursive version of this command is what I really need. Thank you for adding the answer. –  Christopher Altman Jun 28 '10 at 15:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.