view scripts/createdirectory.sh @ 884:ac4bcbcc9cda

added manual data collection script, thanks Philip Morse!
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 17 Mar 2017 17:52:19 -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