清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
#!/bin/bash # Created By: Demo <demo@demo.com> # Created Time: 2015-01-30 12:36:44 # Modified Time: 2015-01-30 12:54:21 dir=$1 while [ "1" ] do if [ ! -d "$1" -a -x "$1" ];then echo 'please specify a directory' fi ret=`find $1 -ctime -4 |sort | wc | awk -F ' ' '{print $1}'` if [ "$ret" -ge "2" ];then #echo 'h' sleep 240 else init 0 fi done