Answers for "zsh check if directory"

1

zsh check if directory exists

DIR_ABSOLUTE_PATH=/home/me/somedir
if [ -d "$DIR_ABSOLUTE_PATH" ]
then
    echo "$DIR_ABSOLUTE_PATH exists."
fi
Posted by: Guest on April-21-2021

Code answers related to "zsh check if directory"

Browse Popular Code Answers by Language