boris-spas / poll

Bash script that polls a file or directory content and executes a given command if a change has occurred.
0 stars 1 forks source link

-o option #2

Open boris-spas opened 8 years ago

boris-spas commented 8 years ago

Support -o option for 'obtaining' a file. This should allow the user to specify commands that produce a file

e.g. -o 'cat file.txt | tail -n 5'