Directory monitoring
This commit is contained in:
parent
e4dbdfb170
commit
590ff0afe0
@ -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
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
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
BIN
OPUS/Rng02_Rng2630_02.0
Normal file
Binary file not shown.
BIN
OPUS/Rng02_Rng2630_03.0
Normal file
BIN
OPUS/Rng02_Rng2630_03.0
Normal file
Binary file not shown.
6
dirMonitor.sh
Executable file
6
dirMonitor.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user