Zsh Vérifiez si le répertoire existe
DIR_ABSOLUTE_PATH=/home/me/somedir
if [ -d "$DIR_ABSOLUTE_PATH" ]
then
echo "$DIR_ABSOLUTE_PATH exists."
fi
Healthy Horse
DIR_ABSOLUTE_PATH=/home/me/somedir
if [ -d "$DIR_ABSOLUTE_PATH" ]
then
echo "$DIR_ABSOLUTE_PATH exists."
fi