How do I create a shell script to log out?
Hello,
I'd like Superduper to log out the current user when it finishes, rather than shutting down the computer or any of the other available options. It seems like it should be relatively straightforward to create a "shell script" to do this and run it at the end of the backup under "Advanced." But I don't know anything about shell scripts. I do have some experience with Applescript, and tried to run an Applescript at the end of the backup, but got a "permission denied" error. Can anyone help or point me to a resource on creating shell scripts that will work with SD? Thanks Ben |
Well, you could save your script as a compiled script, and then create a shell script that says:
Code:
#!/bin/sh |
Quote:
Ben |
I'm trying not to do that, Ben, because I don't want to "do it all for you"... because then you won't really learn anything. (There are other threads on the forum that show how to do this kind of thing, and how to set permissions properly -- and there are also good resources on the web that explain what shell scripts are, and how they work.)
|
Quote:
|
There's a thread right at the top of this forums that includes a shell script. It's a good example...
|
All times are GMT -4. The time now is 03:22 AM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.