Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Shell script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Shell script
Authored by: luigi193 on Aug 09, '08 04:55:59PM
I wrote a basic shell script to make a CLI for the commands, so you don't have to remember them.. put it in /usr/bin and make sure to make it executable...


echo "Enable or Disable Backups (e , d or quit)"

backup () {
	read CHOICE
	case $CHOICE in

			defaults write DeviceBackupsDisabled -bool NO
			echo "Backups Enabled"
			exit 0 
			defaults write DeviceBackupsDisabled -bool YES
			echo "Backups Disabled"
			exit 0
			exit 0
			echo "Please only enter: e, d, or quit"


[ Reply to This | # ]