View Single Post
  #8  
Old 05-24-2010, 10:39 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Well, a 'dset' is a copy script, not a shell script, so I'm not sure what you created there. In general, you'd create a plain text file that would look like:

#!/bin/sh
defaults write /Library/Preferences/com.apple.TimeMachine "$1" -boolean no

Where $1 is the name of the source volume, as explained in the User's Guide.

You'd save that, probably with a .sh extension, and then you have to use terminal to set its permissions to allow execution, i.e.

chmod +x /path/to/the/shell/script
__________________
--Dave Nanian
Reply With Quote