Skip to content

copton/react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Command line tool for inotify

Dependencies

Usage

See "react --help"

Hello World

react.py /tmp -p '*.txt' 'echo $f'

This is a simple test. Execute the above command and create and modify directories and files in /tmp. For every file ending with .txt its full path is printed on the console every time this file is created or changed.

Executing test suites

react.py ../ -p '*.hs' ./runTests

The main motivation of this tool was to be able to trigger the execution of a test suite each time a source file of the project is modified. This speeds up my vim-based software development a lot.

Setting file ACL entries

react.py /srv/www/team 'setfacl -m g:team:rwx $f'

A major disadvantage of default file ACLs is that it only reacts on newly created files. If you move a file into a directory with a default ACL entry, this file's ACL entries are not updated. In practice this means that sooner or later every default-ACL-based control management will break. With react you can circumvent this problem.

Information

About

command line tool for inotify

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages