Skip to content

Commit

Permalink
inotifywait wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Good committed Dec 7, 2020
1 parent b3a3313 commit 8b3c506
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

printf -v n '%02d' "$2"
while inotifywait -qe close_write py/$n.py || : ; do date; "$1" "$2"; done

0 comments on commit 8b3c506

Please sign in to comment.