Skip to content

miltontom/mcal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mcal

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

mcal

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,

Usage
        mcal <symbolic_permissions>

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

Releases

No releases published

Packages

No packages published

Languages