shell如何判断目录是否存在 作者: 子龙 时间: 2016-08-13 分类: shell 目录不存在,则创建之,写法如下 if [ ! -x /Users/XXX/Desktop/temp/ ]; then mkdir /Users/XXX/Desktop/temp/...