Browse Source

Merge pull request #83 from lbonanomi/bashmail

Simple bash filewatching with MAIL variables
pull/84/head
@trimstray 5 years ago
committed by GitHub
parent
commit
e6e75e5423
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      README.md

+ 6
- 0
README.md View File

@@ -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))


Loading…
Cancel
Save