Feb 5, 2012 1 comment Check if folder exist on bash command if [ ! -e “$BACKUPDIR/latest” ] # Check Latest Directory exists. then mkdir -p “$BACKUPDIR/latest” fi Tags: bash, folder checking sh