This file contains 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
#!/bin/bash | |
# protect an ext drive (USB, memcard, etc) from the following files: | |
# .Spotlight-V* (Spotlight index) | |
# .Trashes (Deleted files) | |
# .fseventsd/* (journaling) | |
# .DS_Store (finder prefs... not implemented, yet) | |
# run this from the root of the drive that should be protected |
NewerOlder