Quickies

[categories] [index] [all (527)] [latest]

Mac OS X
  1. LaunchServices holds the mapping between applications and documents.

    $ /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister
    

    explicitely register an application

    $ lsregister -f MyApp.app
    

    dump the database

    $ lsregister -dump
    

    rebuild the database

    $ lsregister -kill -r -domain local -domain system -domain user