Merge pull request #1185 from Richard70NL/patch-1
OSX spotlight and system utils changes
This commit is contained in:
commit
005789bb91
12
osx.md
12
osx.md
|
@ -32,10 +32,12 @@ category: macOS
|
|||
killall -HUP mDNSResponder # 10.8+
|
||||
dscacheutil -flushcache # 10.7 below
|
||||
|
||||
### Turn off spotlight
|
||||
### Disable spotlight indexing
|
||||
|
||||
mdutil -a -i off # disable indexing for all volumes
|
||||
mdutil -i off MOUNT_POINT # disable for specific volume
|
||||
touch FOLDER/.metadata_never_index # disable for FOLDER
|
||||
|
||||
sudo vim /etc/hostconfig # change SPOTLIGHT=-YES- to SPOTLIGHT=-NO-
|
||||
mdutil -i off /
|
||||
|
||||
### Turn on/off proxy
|
||||
|
||||
|
@ -49,8 +51,8 @@ category: macOS
|
|||
### System utils
|
||||
|
||||
- `networksetup` - Configure network (ip, dns, proxy, etc)
|
||||
- `tmutils` - Configure Time Machine (enable/disable, exclude path, delete snapshots, etc)
|
||||
- `mdutils` - Manage Spotlight (enable/disable, exclude, etc)
|
||||
- `tmutil` - Configure Time Machine (enable/disable, exclude path, delete snapshots, etc)
|
||||
- `mdutil` - Manage Spotlight (enable/disable, exclude, etc)
|
||||
- `diskutil` - Control disk (format, eject, unmount, etc)
|
||||
- `launchctl` - Control running "agents"
|
||||
|
||||
|
|
Loading…
Reference in New Issue