Mercurial > hg > nsaunier > traffic-intelligence
view scripts/createdirectory.sh @ 679:576d9ea4b41a
small update to deal with videos where the number of frames cannot be read
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Thu, 04 Jun 2015 16:04:58 +0200 |
| parents | 626560624d55 |
| children |
line wrap: on
line source
#!/bin/bash DIRECTORY=$1 if [[ ! -d "${DIRECTORY}" && ! -L "${DIRECTORY}" ]] ; then echo "creating directory ${DIRECTORY}" mkdir "${DIRECTORY}" fi #if [[ -d "${DIRECTORY}" && ! -L "${DIRECTORY}" ]] ; then
