Skip to content

mmaarouf/bash-file-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

bash-file-watcher

Basic file watcher bash script that checks for file changes every 2 seconds and executes the supplied command on change.

Usage

./watch-file [file to watch] [command to execute on change]

eg. ./watch-file README.md 'cat README.md'

About

Basic file watcher script that executes a command when the file changes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages