Closed nivekkagicom closed 7 years ago
Why is it closed?
duti: illegal option -- o
(installed with brew)
$ make
...
./util.c:1:10: fatal error: 'CoreFoundation/CoreFoundation.h' file not found
#include <CoreFoundation/CoreFoundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@Nakilon Feel free to reopen w/a fixed version!
Add new -o option to display the URLs of applications that are able to handle a file. The option is followed by either a path or file:// URL (e.g., duti -o file://tmp/foo.c)
Add new -t option for OSType file types; similar to -e (extension) option (e.g., duti -t TEXT)
Also changed the -d and -l options to separately display UTI handlers and URI schemes.
Lastly, cleaned up source formatting and usage output