view scripts/createdirectory.sh @ 1197:0475b4cd0cfb

adding simple direct acceleration calculation
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Sun, 31 Jul 2022 16:49:51 +0200
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