#!/bin/bash
for i in `find ./cluster/* -type d`
do
count=${i##*/}
echo $count
echo -e '\n'
for j in `find $i -type f`
do
name=${j##*.}
echo $name
echo -e '\n'
cp $j "./one/$count.$name"
echo $j
echo -e '\n'
break
done
done
shell record
最新推荐文章于 2022-03-21 20:00:42 发布