5 releases

0.1.4 Jan 31, 2024
0.1.3 Jan 30, 2024
0.1.2 Jan 30, 2024
0.1.1 Jan 29, 2024
0.1.0 Jan 29, 2024

#598 in Command line utilities

MIT license

10KB
173 lines

rust-chmod-conversion

tests

What this is

This is a simple command line tool that I made for practicing rust.

How to install

You can install this by running:

cargo install chmod-convesion

How to use

Convert from Symbolic to Octal

$ chmod-conversion s rwx--x--x
711
$ chmod-conversion symbolic_to_octal rwx--x--x
711

Conver from Octal to Symbolic

$ chmod-conversion o 127
--x-w-rwx
$ chmod-conversion octal_to_symbolic 127
--x-w-rwx

Dependencies

~1.2–1.8MB
~34K SLoC