Add helper scripts to run all other get_data scripts for layers
This commit is contained in:
parent
8cd758a780
commit
010f28e6d9
10
data/get_all_data.sh
Executable file
10
data/get_all_data.sh
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd $(dirname $0)
|
||||||
|
|
||||||
|
find ../ -name "get_data.*" \! -executable | grep . >/dev/null \
|
||||||
|
&& echo "Non-executable files found; consider running:" \
|
||||||
|
&& find ../ -name "get_data.*" \! -executable -exec echo chmod +x {} \; \
|
||||||
|
&& exit 1
|
||||||
|
|
||||||
|
find ../ -name "get_data.*" -executable -exec sh -c "echo processing {}; {} | sed --unbuffered 's/^/ /'" \;
|
Loading…
Reference in a new issue