check if a directory doesn't exist code example
Example: check if a directory doesn't exist
PATH="./foo"
if [[ ! -d "$PATH" ]] ; then echo "$PATH not a dir" ; fi
PATH="./foo"
if [[ ! -d "$PATH" ]] ; then echo "$PATH not a dir" ; fi