view scripts/createdirectory.sh @ 166:4eb13ed73d84

tests on reading and printing trajectories from database
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Thu, 29 Sep 2011 18:49:40 -0400
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