Skip to content

rileytwo/shell-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

shell scripts

If you have Homebrew installed, check out homebrew-shell-scripts for an easy way to install and use these scripts. Otherwise, clone the repo and place these somewhere in your path.

Usage

uti.sh

A simple wrapper for running mdls -name kMDItemContentType -name kMDItemContetTypeTree -name kMDItemKind <file>. Particularly (and only) useful for finding the Uniform Type Identifier, commonly referred to as UTI of a file.

uti.sh README.md

kMDItemContentType     = "net.daringfireball.markdown"
kMDItemContentTypeTree = (
    "net.daringfireball.markdown",
    "public.plain-text",
    "public.text",
    "public.data",
    "public.item",
    "public.content"
)
kMDItemKind            = "Markdown Document"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages