Skip to content

Instantly share code, notes, and snippets.

@jfonte
Last active April 2, 2016 18:04
Show Gist options
  • Save jfonte/c4002e5645b3181e3189 to your computer and use it in GitHub Desktop.
Save jfonte/c4002e5645b3181e3189 to your computer and use it in GitHub Desktop.
unmount script superduper
#!/bin/bash
sleep 10 # give SuperDuper enough time to finish doing it's job
/usr/sbin/diskutil umount bak > /dev/null
# if you want to completely eject the disk when waking up to conserve battery life and stop the disk from spinning, then:
# diskutil eject bak (you can get the disk name by running '''diskutil cs list''' source -> http://apple.stackexchange.com/questions/153307/how-can-change-hard-disk-name-not-partition)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment