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: 76
Total answers/comments: 1
Guest [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."