Mercurial > public > ssdt-docker
diff scripts/training.sh @ 46:dfbb643b82a3
tee import logs to a file
author | smith@nwoca.org |
---|---|
date | Tue, 02 Feb 2016 21:24:28 +0000 |
parents | ef52df9248de |
children | a0283d218ff5 |
line wrap: on
line diff
--- a/scripts/training.sh Wed Jan 27 17:37:41 2016 -0500 +++ b/scripts/training.sh Tue Feb 02 21:24:28 2016 +0000 @@ -16,7 +16,7 @@ fi for i in $(eval echo {01..${2:-10}}); do - mkdir -p $BASEDIR/training-$i + mkdir -p $BASEDIR/training-$i done for t in $( ls -d training-* ); do @@ -35,7 +35,7 @@ compose) - for t in $( ls -d training-* ); do + for t in $( ls -d *training-* ); do cd $BASEDIR/$t docker-compose ${*:2} done @@ -43,7 +43,7 @@ reset) - for t in $( ls -d training-* ); do + for t in $( ls -d *training-* ); do cd $BASEDIR/$t docker-compose stop