Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexisakers/uti
CLI Tool for Interacting with File Type Identifiers on Mac
https://github.com/alexisakers/uti
command-line-tool file-system productivity swift
Last synced: 7 days ago
JSON representation
CLI Tool for Interacting with File Type Identifiers on Mac
- Host: GitHub
- URL: https://github.com/alexisakers/uti
- Owner: alexisakers
- License: mit
- Created: 2018-09-09T13:26:56.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-10T07:31:03.000Z (about 6 years ago)
- Last Synced: 2024-08-02T16:10:32.179Z (3 months ago)
- Topics: command-line-tool, file-system, productivity, swift
- Language: Swift
- Size: 40 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# uti
`uti` a command line tool that provides helpers to interact with Universal Type Identifiers on macOS. It allows you to get the UTI of a file on disk, and to check that a type conforms to the specified UTI.
## Usage
~~~
uti: a tool to interact with universal type identifiers🌍 source code: https://github.com/alexaubry/uti
📝 author: Alexis Aubry (https://alexaubry.fr)commands:
- get: Get the Uniform Type Identifier of a file.
usage: uti get
example: uti get ~/Desktop- conforms: Check that a file conforms to the specified type.
usage: uti
example: uti conforms public.folder ~/Desktop- help: Print the instructions to use the program.
usage: uti help
~~~## Installation
### With Homebrew
You can install the utility using Homebrew by running this in a terminal.
~~~bash
brew install alexaubry/formulas/uti
~~~### From Source
To build the program for source and install it on your machine, run this in a terminal:
~~~bash
git clone https://github.com/alexaubry/uti
cd uti
make build
make test
~~~## Contributing
The utility was built as a Swift package. It is composed of two targets: the framework that contains the logic, and and an executable that launches that logic.
### Requirements
- To develop `uti`, you will need **Swift 4.1**.
- Please make sure to read the [Contribution Guide](CONTRIBUTING.md) before contributing