annotate scripts/createdirectory.sh @ 103:1621b46a1523

started python script to compute the moving object trajectory as the trajectory of the lowest of the features (ie closest to the ground)
author Nicolas Saunier <nico@confins.net>
date Wed, 13 Jul 2011 19:14:17 -0400
parents 626560624d55
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
88
626560624d55 added the simple script to create directories
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
1 #!/bin/bash
626560624d55 added the simple script to create directories
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
2 DIRECTORY=$1
626560624d55 added the simple script to create directories
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
3 if [[ ! -d "${DIRECTORY}" && ! -L "${DIRECTORY}" ]] ; then
626560624d55 added the simple script to create directories
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
4 echo "creating directory ${DIRECTORY}"
626560624d55 added the simple script to create directories
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
5 mkdir "${DIRECTORY}"
626560624d55 added the simple script to create directories
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
6 fi
626560624d55 added the simple script to create directories
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
7 #if [[ -d "${DIRECTORY}" && ! -L "${DIRECTORY}" ]] ; then