Update Time Machine commands
This commit is contained in:
parent
71d4d627ca
commit
040f603b01
19
README.md
19
README.md
@ -279,28 +279,21 @@ sudo defaults write /System/Library/Launch Daemons/com.apple.backupd-auto StartI
|
|||||||
#### Local Backups
|
#### Local Backups
|
||||||
Whether Time Machine performs local backups while the Time Machine backup volume is not available.
|
Whether Time Machine performs local backups while the Time Machine backup volume is not available.
|
||||||
```bash
|
```bash
|
||||||
# Disable
|
# Status
|
||||||
sudo tmutil disablelocal
|
defaults read /Library/Preferences/com.apple.TimeMachine MobileBackups
|
||||||
|
|
||||||
# Enable (Default)
|
# Enable (Default)
|
||||||
sudo tmutil enablelocal
|
sudo tmutil enablelocal
|
||||||
|
|
||||||
|
# Disable
|
||||||
|
sudo tmutil disablelocal
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Prevent Time Machine from Prompting to Use New Hard Drives as Backup Volume
|
#### Prevent Time Machine from Prompting to Use New Hard Drives as Backup Volume
|
||||||
```bash
|
```bash
|
||||||
defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true
|
sudo defaults write /Library/Preferences/com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Set Status
|
|
||||||
```bash
|
|
||||||
# Disable Local Time Machine Backups
|
|
||||||
hash tmutil &> /dev/null && sudo tmutil disablelocal
|
|
||||||
|
|
||||||
# Enable Local Time Machine Backups (Default)
|
|
||||||
hash tmutil &> /dev/null && sudo tmutil enablelocal
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## Developer
|
## Developer
|
||||||
|
|
||||||
### Vim
|
### Vim
|
||||||
|
Loading…
Reference in New Issue
Block a user