Zsh Sprawdź, czy istnieje katalog

DIR_ABSOLUTE_PATH=/home/me/somedir
if [ -d "$DIR_ABSOLUTE_PATH" ]
then
    echo "$DIR_ABSOLUTE_PATH exists."
fi
Healthy Horse