Mercurial > hg > nsaunier > traffic-intelligence
view scripts/createdirectory.sh @ 441:ea907ae19d8c
new TTC added
| author | Sohail Zangenehpour <sohail.zangenehpour@mail.mcgill.ca> |
|---|---|
| date | Thu, 30 Jan 2014 16:35:17 -0500 |
| 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
