Skip to content

Instantly share code, notes, and snippets.

@rms1000watt
Created December 31, 2018 20:25
Show Gist options
  • Save rms1000watt/edf9d07868c205a1d9a8b08923d10612 to your computer and use it in GitHub Desktop.
Save rms1000watt/edf9d07868c205a1d9a8b08923d10612 to your computer and use it in GitHub Desktop.
Prevent OS X from creating .fseventsd, trashes, etc.
# https://superuser.com/questions/790451/how-to-prevent-usb-from-fseventsd-trashes-spotlight-v100-folders-and-ds-st
cd "/Volumes/USB Drive"
touch .metadata_never_index
chmod 444 .metadata_never_index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment