Skip to content

gschrader/icon-for-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iconforfile

Basically a command line version of https://github.com/socketwiz/IconForFileType. I also needed an icon for a file but wanted it from another process that couldn't easilly make cocoa calls.

Usage

Usage iconforfile [OPTIONS] <arguments separated by space>
-f --file <value>   icon by file, complete path 
-t --type <value>   icon by type (i.e. file extension) 
-o --output <value> output file, Write output to file.  Default is stdout 
-s --size <value>   pixel size. Default is 16 
-b --base64         output in base64 
-v --printVersion   Display version and exit 
-h --printHelp      Display this help and exit 

About

Extract an icon for a given file or file type in macosx

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published