Skip to content

Ahuge/imod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

imod

imod is an interactive chmod tool.

It is written in python and uses a raw terminal to allow it to catch all escape sequences.

Commands

  • Ctrl + C Exit
  • Return Apply chmod permissions to file [& Exit]
  • Up Arrow Increase octal permission
  • Down Arrow Decrease octal permission
  • Left Arrow Move cursor left in permissions
  • Right Arrow Move cursor right in permissions
  • [r|w|x|-] Set one or more of these ascii permissions to that group
  • [0-7] Set one octal permission to that group

Demo

Basic demo of imod showing a use case
Basic imod demo

A more advanced usage of imod Advanced imod demo

Ascii octal names

imod can use "r" "w" "x" "-" or a combination of the 4 to write an octal to the group directly.
It has a 1 sec timeout however, so you need to press the keys in quick succession. Ascii imod demo

Numeric octal numbers

imod can also use numbers [0-7] to directly set the value of the group.
No need to press arrow keys if you know exactly what you want. Numeric imod demo