opus-data/dirMonitor.sh

6 lines
130 B
Bash
Raw Normal View History

2021-02-11 17:52:37 +01:00
#!/bin/bash
inotifywait -m OPUS -e create -e moved_to |
while read fpath action file; do
2021-02-19 10:03:46 +01:00
Rscript OpusData.R $fpath $file
2021-02-11 17:52:37 +01:00
done