Add helper scripts to run all other get_data scripts for layers

main
Chandler Swift 2023-07-03 13:31:20 -05:00
parent 8cd758a780
commit 010f28e6d9
Signed by: chandlerswift
GPG Key ID: A851D929D52FB93F
1 changed files with 10 additions and 0 deletions

View 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/^/ /'" \;