Mac OS X: 实用脚本程序(bash scripts)系列-7
最后更新于:2022-04-01 10:55:01
**删除ARD Client和Agent的脚本**
#!/bin/sh#this will uninstall ARD admin and all it's components so you can reinstall it if need berm -rf /var/db/RemoteManagementrm /Library/Preferences/com.apple.RemoteDesktop.plistrm ~/Library/Preferences/com.apple.RemoteDesktop.plistrm -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