#! /bin/sh
path=`pwd`
path=$path/trace
find $path -type f > tmp
filesCount=`ls $path | wc -l`
echo "$path have $filesCount files"
echo "begin remove file,please wait a mo"
while read line
do
rm $line
done<tmp
echo 'ok'
#! /bin/sh
path=`pwd`
path=$path/trace
find $path -type f > tmp
filesCount=`ls $path | wc -l`
echo "$path have $filesCount files"
echo "begin remove file,please wait a mo"
while read line
do
rm $line
done<tmp
echo 'ok'