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

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

posted on 2020-03-10 17:21  大话人生  阅读(365)  评论(0)    收藏  举报