shell45判断是否为目录脚本test -d $backdir:测试变量backdir是否为目录,是,则返回值为0,非则返回值为非0

! test -d $backdir:!为非的意思,即取反

shell45判断是否为目录脚本

相关文章: