Hidden files and folders like .fseventsd, .Spotlight-V100, .TemporaryItems, and .Trashes are getting dumped in my flash drive every time I plug it into my Mac...

How do I keep it from doing this?

Related to this and this!

link|improve this question
Awesome username, by the way. – Spiff Jul 23 '10 at 18:57
Or on ANY drive, for that matter. – NReilingh Jul 24 '10 at 21:21
Create them, lock them to make them read-only, then chflags hidden to hide them. – Daniel Beck Apr 18 '11 at 20:00
@squircle I disagree. ._ files are the only hidden files regularly created that aren't mentioned in this topic. – Daniel Beck Apr 18 '11 at 21:12
@Daniel That's true (hence the word possible); you're right. Thanks for the clarification! – squircle Apr 19 '11 at 0:20
feedback

2 Answers

Macworld has an article describing a way to delete the hidden Mac dot files. The hints suggest modifying the default unmount script. Use care because the script could delete other hidden files like .bashrc that you may want.

http://hints.macworld.com/article.php?story=20110204124029798

link|improve this answer
feedback

Turning off Spotlight completely and never use Finder might take you half way, or prevent them all? The stuff is there for specific reasons so you should think it over before you use scripts to automatically delete things.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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