Last active
          November 17, 2019 20:22 
        
      - 
      
- 
        Save marcj/ab66f9e2cef2e6d5925e12b8885ab549 to your computer and use it in GitHub Desktop. 
    Clean macOS for VMs
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | sudo mount -uw / | |
| rm -rf /System/Library/Extensions/AMDRadeon* | |
| rm -rf /System/Library/Extensions/GeForce* | |
| rm -rf /System/Library/Desktop\ Pictures/* | |
| find /System/Library/Templates/Data/System/Library/Speech -name PCMWave -exec rm -rf {} \; | |
| rm -rf /System/Library/Screen\ Savers/*.saver | |
| rm -rf /private/var/db/dyld | |
| xcrun simctl erase all | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment