删除指定日期的文件
for filename in *; do
if [ `date -r $filename +%m` == "08" ];then
echo 删除 $filename;
rm -rf $filename
fi
done
个人点滴记录
for filename in *; do
if [ `date -r $filename +%m` == "08" ];then
echo 删除 $filename;
rm -rf $filename
fi
done