#!/bin/bash workPace=$1 #工作目录 output=$2 #输出目录 inDir=$3 #下载目录参数 echo 工作目录 $1 echo 输出目录 $2 echo 目录参数 $3 cd workPace zip -r $2 $3