Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
linux bash do something when file changes
TV's Frank
Programming language:
Shell/Bash
2021-03-28 16:54:54
5
Q:
linux bash do something when file changes
Myles
Code:
Shell/Bash
2021-01-30 16:05:30
while inotifywait -e close_write myfile.py; do ./myfile.py; done
0
Tags
file
change
linux
changes
when
Related
how to echo to a file in linux
bash write file
bash download a file
bash write stderr to file
bash unzip all files
bash run all commands in a file
bash ls exclude file
shell file in linux
bash return lines from one file that arent in another
bash script output and error to file
save output of command to craible bash
New to Communities?
Join the community