Mercurial Hosting > traffic-intelligence
view scripts/createdirectory.sh @ 781:7c38250ddfc7 dev
updated to deal with prepared polygons from shapely, and to extract the same positions from a second trajectory in a polygon (for velocities for example)
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Thu, 11 Feb 2016 11:56:50 -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