如何用shell脚本遍历指定目录下的文件,并按后缀名分类

如题所述

第1个回答  2017-01-22
#!/bin/bash
while true
do

if [ -f /root/*.warming ];then
cp /root/xxx.conf /tmp
fi
done
相似回答
大家正在搜