We have a bunch of Mac at work that no longer require Xcode or command line tools so we'd like to remove them so the compilers aren't hanging around and we don't have to keep updating them when updates arrive.
Before Xcode was in the Mac App Store, there ware install and uninstall scripts (perl in /Developer) to remove the tools, but now that Xcode is an app store app you are left with the tools if you ever install them.
Can we clean this other than wiping the OS for macs running 10.10 and newer?