for typefile in $filedir_f_2(文件夹路径)
do
typefn=$(basename $typefile)// 获取文件名
typeprefix=${typefn:0:10}// 截取字符串 根据实际情况 0:10 进行修改
if [ "$typeprefix" = 'filename' ]
then
fi
done
转载于:https://www.cnblogs.com/ZhenShi/p/5306087.html
for typefile in $filedir_f_2(文件夹路径)
do
typefn=$(basename $typefile)// 获取文件名
typeprefix=${typefn:0:10}// 截取字符串 根据实际情况 0:10 进行修改
if [ "$typeprefix" = 'filename' ]
then
fi
done
转载于:https://www.cnblogs.com/ZhenShi/p/5306087.html
835
569

被折叠的 条评论
为什么被折叠?