Created
          January 8, 2018 06:46 
        
      - 
      
 - 
        
Save mmizutani/9a971cfa05ddef6d0b0205f7defd387b to your computer and use it in GitHub Desktop.  
    Single line command to prevent macOS from sleeping while Time Machine backup is in progress
  
        
  
    
      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
    
  
  
    
  | #!/usr/bin/env bash | |
| caffeinate -i tmutil startbackup | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment