oo-method-test / scripts /gen-training.bash
Edward J. Schwartz
Script updates
85a4ca2
raw
history blame
275 Bytes
#!/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
find . -name '*.ground' | shuf | nice parallel -q --eta -I foo bash -c 'F=$(dirname foo)/$(basename foo .ground); echo $F; python3 '"$SCRIPT_DIR"'/gen-training.py $F{.ground,,.csv}'