사용자 도구

사이트 도구


linux:inotify_tools

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

linux:inotify_tools [2020/10/19 15:26] (현재)
kwon37xi 만듦
줄 1: 줄 1:
 +====== inotify-tools ======
 +  * https://github.com/inotify-tools/inotify-tools/wiki
 +  * [[:linux|Linux]] 파일 변경관련 작업
 +
 +===== 파일이 변경되면 특정 작업수행 =====
 +  * [[https://superuser.com/questions/181517/how-to-execute-a-command-whenever-a-file-changes|linux - How to execute a command whenever a file changes? - Super User]]
 +<code sh>
 +while inotifywait -e close_write myfile.py; do ./myfile.py; done
 +</code>
  
linux/inotify_tools.txt · 마지막으로 수정됨: 2020/10/19 15:26 저자 kwon37xi