|
#1
|
|||
|
|||
SD completion alert and ejecting
I need to simplify SD usage for a user who is not very computer literate. There are two things I need some help with:
1. I know that SD works with Growl, but is it possible to have SD use the alert sound specified in System Preferences to alert the user that the copying is complete? 2. The user I'm helping has an external USB drive that has two partitions. Both are used for alternating SD backups. Problem is when the drive is connected obviously both partitions are mounted. No problem, but unfortunately once the SD copying is complete if I use the option "On successful completion: Eject <destination>" the other partition is still mounted. If you eject one of the partitions in the Finder you get a message asking if you want to eject only that one or all partitions on that drive. How can I automate this for SD, so that the user doesn't have to manually eject the remaining partition and can simply unplug the drive when SD is done? Thanks |
#2
|
||||
|
||||
1. If there's a Growl notification that beeps, sure.
2. You really can't, not with two partitions... unless you run a second copy that, say, copies *nothing* to the other partition (using copy newer/different) and then ejects it. That would work...
__________________
--Dave Nanian |
#3
|
|||
|
|||
Quote:
Can I use a compiled AppleScript instead of a shell script with SuperDuper's "Run shell script after copy completes"? |
#4
|
||||
|
||||
I wouldn't do that, really. I'd do what I suggested...
__________________
--Dave Nanian |
#5
|
|||
|
|||
Can you please explain why you wouldn't run a shell script to do those two things after copying? I can understand why you would use Growl for the sound alert as you have built in support for it, but are there any problems with doing it without Growl?
|
#6
|
||||
|
||||
Because you can't eject a drive we're looking at, and the 'after copy' shell script runs while we're still expecting the drive to be there.
__________________
--Dave Nanian |
#7
|
|||
|
|||
I've put together this shell script:
Code:
#!/bin/bash /usr/sbin/diskutil eject /Volumes/SD* afplay /System/Library/Sounds/Hero.aiff What do you think? |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|