Casper Tools uninstall

benducklow
Contributor III

Does anyone have a script to uninstall Casper Tools from a system? I have a few systems out in the field that that have older versions of one or more of the application(s) and would like to simply remove all traces of it.

Thanks in advance!

3 REPLIES 3

cbrewer
Valued Contributor II

This will find and remove all copies of Casper Remote from /Users and /Applications. You could easily expand it to include the other apps.

#!/bin/bash

find /Applications -name "Casper Remote.app"
find /Applications -name "Casper Remote.app" -exec rm -r {} +
find /Users -name "Casper Remote.app"
find /Users -name "Casper Remote.app" -exec rm -r {} +

benducklow
Contributor III

Thanks @cbrewer, this is great start!

Chris_Hafner
Valued Contributor II

Scripts are probably the fastest way to go. On my end I drag the whole "Casper Suite" folder into composer, package it as a .dmg and then index it in Casper admin. It gives me a ready made uninstaller that I light off any time I remove a machine that has it or decide to push out a new version of the tools to my IT team.