https://tech.iprock.com/archives/26957
How to Verify if a File or Directory Exists in Bash