Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- for filename in /Volumes/*
- do
- if [[ $filename != "/Volumes/Macintosh HD" && $filename != "/Volumes/BOOTCAMP" ]]
- then
- file=$filename"/.metadata_never_index"
- touch "$file"
- fi
- done;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement