"-e $directory" will tell you if "$directory" exists but not that it is a directory. "-d $directory" will tell you that $directory exists and that it is a directory.
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
--H.L. Mencken
|