The problem is that -e will return true even if the specified "path" or "file" is actually a directory.
In reply to Re^3: Testing if file exists
by JediWizard
in thread Testing if file exists
by hoffj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |