Created
April 4, 2019 12:02
-
-
Save antonydb/66d57e789de0d1e234f0276f7117e279 to your computer and use it in GitHub Desktop.
Prevent spotlight indexing node_modules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type d -name "node_modules" -exec touch "{}/.metadata_never_index" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment