Home » Questions » Computers [ Ask a new question ]

How to disable creating .Spotlight-V100 and .Trash folders on external drive?

How to disable creating .Spotlight-V100 and .Trash folders on external drive?

Everytime I put a USB Flash Driver the Mac OS X creates 2 folders .Trash and .Spotlight-V100. Is it possible to disable this operation?

Asked by: Guest | Views: 319
Total answers/comments: 1
bert [Entry]

"At least on macOS Mojave (10.14) I found that the mdutil -h command was very much my friend... try:

sudo mdutil -X /path/to/volume

but you may also need to explore options such as -d and -i off because the help states that -X doesn't disable indexing."