Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux bash do something when file changes

while inotifywait -e close_write myfile.py; do ./myfile.py; done
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #linux #bash #file
ADD COMMENT
Topic
Name
4+1 =