view scripts/createdirectory.sh @ 93:19603b5fa578

added timeinterval computation for indicators based on dictionaries
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 13 Jun 2011 14:15:08 -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