Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/miltontom/mcal

A chmod calculator for the CLI
https://github.com/miltontom/mcal

chmod chmod-calculator cli cli-tool file-permissions linux

Last synced: about 1 month ago
JSON representation

A chmod calculator for the CLI

Awesome Lists containing this project

README

        

# mcal

Get linux file permissions in numeric format from the command-line.

![mcal](preview/mcal.gif)

## Setup

* The binaries are available in the respective folders based on the OS
* Add the binaries to the `PATH` to use it anywhere from the CLI.

## How to use?

Running `mcal` with no argument gives,

```bash
Usage
mcal

Description
A command-line 'chmod' calculator.

Notes
* Symbolic permission format: [owner][group][public]
* Certain permissions can be omitted with '-'

Examples
mcal rwxrwxrwx -> 777
mcal rwxrw-rw- -> 766
mcal rwx------ -> 700
```