#! /bin/bash if [ $# != 1 ] then echo "erorr use $0. Right use this script: " echo "$0 path" else path_=$1 find ${path_} -maxdepth 1 -type d | xargs -I {} ./asotr_unzip.sh {} fi