path="/home/work/yxf/wbj/datas"
for i in `ls /home/work/yxf/wbj/datas`
do
newName=${i%.*}
#echo $newName
mv $path/$i $path/$newName
done
for i in `ls | grep .xlsx`; do mv $i `echo "$i" | awk -F '.xlsx' '{print $1}'`;done
path="/home/work/yxf/wbj/datas"
for i in `ls /home/work/yxf/wbj/datas`
do
newName=${i%.*}
#echo $newName
mv $path/$i $path/$newName
done
for i in `ls | grep .xlsx`; do mv $i `echo "$i" | awk -F '.xlsx' '{print $1}'`;done