How to disable mac from creating .Spotlight-V100 and .Trash folders?

Tags: mac reference spotlight trash disable Technopole
Posted on: 2010-03-28 15:14:12 , Updated on: 2017-08-16 17:32:27 How to disable mac from creating .Spotlight-V100 and .Trash folders?

$ cd /Volumes/your_target_volume
$ sudo touch .metadata_never_index