Created
July 3, 2016 02:50
-
-
Save dsiver/2b52cccd1b71f749843b81037d0b9db5 to your computer and use it in GitHub Desktop.
OS X Prevent External HDD Sleep
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 | |
# Volumes='<volume1> <volume2> ... <volumeN>' | |
# for i in $Volumes | |
# do | |
# touch /Volumes/${i}/.nosleep | |
# done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment