Mac OS X: 实用脚本程序(bash scripts)系列-7

删除ARD Client和Agent的脚本

#!/bin/sh #this will uninstall ARD admin and all it's components so you can reinstall it if need be rm -rf /var/db/RemoteManagement rm /Library/Preferences/com.apple.RemoteDesktop.plist rm ~/Library/Preferences/com.apple.RemoteDesktop.plist rm -r /Library/"Application Support/Apple/Remote Desktop/” rm -r ~/Library/"Application Support/Remote Desktop/“ rm -rf /Applications/"Remote Desktop" # --------------------------------------------------- # The following line will uninstall ARD client/agent. # /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -uninstall -files

你可能感兴趣的:(OS,脚本,bash,Components)