How do I set Time Machine to eject my external Time Machine backup drive automatically after each backup?
Tell me more
×
Ask Different is a question and answer site for
power users of Apple hardware and software. It's 100% free, no registration required.
|
|
There might be a better way, but one solution might be to Applescript it. I haven't yet found any way to run an applescript after a backup, but you could:
If you want this to happen on a regular basis, you could attach it to a cron job. |
|||||||||
|
|
~/bin/timemachine:
~/Library/LaunchAgents/timemachine_eject.plist:
Make the script executable, unload the default plist, and load the new one:
To apply changes to the plist, you have to unload and load it. |
||||
|
|
|
Haven't tried this, but it looks like it might work: Ejects external drives when going to sleep and remounts them waking from sleep. |
||||
|
|