fn: sgnd_validate_dir_exists
Purpose
Test whether a path is an existing directory.
Arguments
$1— Directory to test.
Returns
- 0 when -d matches; 1 otherwise.
Usage
sgnd_validate_dir_exists "/tmp"

fn: sgnd_validate_dir_exists
Test whether a path is an existing directory.
$1 — Directory to test. sgnd_validate_dir_exists "/tmp"