Directory monitoring

This commit is contained in:
Ruben Hartenstein (PEA4-Fe) 2021-02-11 16:52:37 +00:00
parent e4dbdfb170
commit 590ff0afe0
8 changed files with 3496 additions and 1745 deletions

View File

@ -1 +1,2 @@
Rscript OpusData.R Rng02_Rng2630_01.0
#!/bin/bash
Rscript OpusData.R Rng02_Rng2630_02.0

File diff suppressed because it is too large Load Diff

1744
DPT/Rng02_Rng2630_02_0.DPT Normal file

File diff suppressed because it is too large Load Diff

1744
DPT/Rng02_Rng2630_03_0.DPT Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

BIN
OPUS/Rng02_Rng2630_02.0 Normal file

Binary file not shown.

BIN
OPUS/Rng02_Rng2630_03.0 Normal file

Binary file not shown.

6
dirMonitor.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
inotifywait -m OPUS -e create -e moved_to |
while read fpath action file; do
echo "The file '$file' appeard in directory '$fpath' via '$action'"
Rscript OpusData.R $file
done