1 2 3 4 5 6 7 8
#!/bin/bash pushd . &>/dev/null cd .. ID=$(basename $(pwd)) # attempt_... popd &>/dev/null ./dtrain -c dtrain.ini --hstreaming $ID