HowTo: Check If a Directory Exists In a Shell Script - nixCraft
2013年4月14日 - [ -d "/path/to/dir" ] && echo "Directory /path/to/dir exists." || echo "Error: ... Shell script examples to see if a ${directory} exists or not. The following ...
www.cyberciti.biz |