1 拷贝对应文件
fileList=`ls $1`
for fileName in $fileList
do
if test -d $fileName
then
cd $fileName
FilePath=`pwd`
echo $FilePath
cp *pdf ../
cd ..
else
echo "$FilePath is a invalid path"
fi
done
```bash
#! /bin/bash
function read_dir(){
for file in `ls $1`
do
echo $file
unzip.exe $file
rm $file
done
}
read_dir $1