BSDnexus
5May/12Off

Config cleanup

A one liner to remove all stale pkg config files on a system after the main programs have been removed.

WARNING: There's no going back so make sure you do want all these config files removed and that they're not being used in any way.

1
apt-get purge `dpkg -l | awk '/^rc/ {foo = foo $2 " "} END {print foo}'`

 

Tagged as: , Comments Off
Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.