Skip to content

Instantly share code, notes, and snippets.

@juristr
Created January 7, 2013 23:05
Show Gist options
  • Save juristr/4479416 to your computer and use it in GitHub Desktop.
Save juristr/4479416 to your computer and use it in GitHub Desktop.

In order to uninstall packages you need to go to

/Library/Receipts

where there should be a list of installed applications. By invoking

sbom -fls  some_app.pkg/Contents/some-path/somefile.bom

you get the list of installed files and their corresponding paths. As such, a command like

sbom -fls some_app.pkg/Contents/some-path/somefile.bom | (cd /; sudo xargs rm)

might be used to delete them accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment