49
votes
13answers
41k views

How to stop OS X from writing Spotlight and Trash files to memory cards and USB sticks?

When plugging a USB stick into a Mac, OS X creates a number of hidden files on the stick, including a Spotlight index and Trash folder. Example from the terminal for a USB stick "Untitled": $ ls -a ...