瀏覽代碼
Merge pull request #83 from lbonanomi/bashmail
Simple bash filewatching with MAIL variables
pull/84/head
@trimstray
5 年之前
committed by
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG Key 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)) |
|
|
|