摘要: #!/bin/bash# HJ test trigger filePATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/binexport PATHdirectory=/home/houjiao/test/filelist=`ls $directory`#for file in $filelistfor file in *.datdo exist=$(lsof ${directory}${file}) if [ $? ] && [ `echo $file |grep 'log'` 阅读全文
posted @ 2013-06-07 17:43 风猴蓝魔 阅读(191) 评论(0) 推荐(0) 编辑