소스 검색
Merge pull request #83 from lbonanomi/bashmail
Simple bash filewatching with MAIL variables
pull/84/head
@trimstray
5 년 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
6개의 추가작업 그리고
0개의 파일을 삭제
-
README.md
|
|
@@ -1257,6 +1257,12 @@ for ((i=5; i<=10; ++i)) ; do printf '%02d\n' $i ; done |
|
|
|
# alternative: seq -w 5 10 |
|
|
|
``` |
|
|
|
|
|
|
|
###### Simple Bash Filewatching |
|
|
|
|
|
|
|
```bash |
|
|
|
unset MAIL; export MAILCHECK=1; export MAILPATH='$FILE_TO_WATCH?$MESSAGE' |
|
|
|
``` |
|
|
|
|
|
|
|
___ |
|
|
|
|
|
|
|
##### Tool: [mount](https://en.wikipedia.org/wiki/Mount_(Unix)) |
|
|
|