View Full Version : Run Shell Scripts

02-26-2006, 08:53 PM
Hi... I need some sort of an audible alert when SuperDuper is finished, and I would like to use the system voice feature. I am not a programmer, but I know there is the UNIX terminal SAY command (eg; say "SuperDuper is finished") .... How can I program this to run in SuperDuper? I see in the Advanced Options panels a checkbox and field to specify a script file to run ("Run shell script after copy completes"), but I am not sure what to do here.

Any help would be appreciated.

Thanks in advance.

02-26-2006, 09:31 PM
Well, Sandro, you'd create a plan text file with the text:

say "SuperDuper is finished"

Save that as a file named whatever you want, in your Home folder or some other known location, with no extension. Then, open Terminal. Type:

chmod +x

(there's a space after the x) and then drag the file you just saved from Finder into the Terminal window. That'll enter the path to the file. Press Return at the end.

Then, set the On completion shell script to this file.

That's all there is to it!