摘要: 1、写好脚本 [root@xxx monitor]# cat dir_exist.py #!/usr/bin/env python #coding:utf-8 """ 目录存在返回1,目录不存在返回-1 """ import os from os.path import join ,getsize 阅读全文
posted @ 2016-02-17 09:58 fish01 阅读(611) 评论(0) 推荐(0)