3 ms·Unix - How to check if a directory exists in a shell script - Stack Overflow2 points by rohshall 14y ago