Skip to content

CLI to batch deregister applications in macOS LaunchServices database

Notifications You must be signed in to change notification settings

terrychou/lsunregister

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

lsunregister

lsunregister is a command line interface to batch deregister applications in macOS LaunchServices database, using a prefix, a pattern or a regular expression.

lsunregister can also provide a clean list of all registered applications in LaunchServices database.

lsunregister uses LaunchServices framework private functions for maximum efficiency.

Usage

lsunregister --prefix / -p <prefix>
lsunregister --like   / -l <pattern>
lsunregister --regex  / -r <regular expression>
lsunregister --debug  / -d : print all registered applications and exit.

Examples

lsunregister --prefix ~/.Trash/
lsunregister --like   "/Volumes/*/.Trashes/*"
lsunregister --regex  "/Users/.*?/(\.Trash|Desktop|Downloads|Library/Mail)/.*"
lsunregister --debug  | sort

About

CLI to batch deregister applications in macOS LaunchServices database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%