Remove every file that a .pkg provides on OS X

pkg_iconSometimes we have to install new software that comes only into a form of .pkg .

Sadly when we are done with it and decide to uninstall, developers didn’t took this into account, leaving all kind of files in our system.

This line of code tries to take care of those files.

lsbom  -f -l -s /Library/Receipts/package_here.pkg/Contents/Archive.bom  | (cd /; sudo xargs rm)
$1.99 domains with SSL purchase!

One thought on “Remove every file that a .pkg provides on OS X

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">