11智能在线
新记
如何用shell脚本遍历指定目录下的文件,并按后缀名分类
如题所述
举报该文章
其他看法
第1个回答 2017-01-22
#!/bin/bash
while true
do
if [ -f /root/*.warming ];then
cp /root/xxx.conf /tmp
fi
done
相似回答
大家正在搜