for d in ./*; do
  if [ -d "$d" ]; then
     for e in $d/*;do
        if [ -d "$e" ]; then
            find "$e" -type f -print
        fi
     done
  fi
done

  

 

for d in ./*; do
  if [ -d "$d" ]; then
#     echo "$d"
     for e in $d/*;do
        if [ -d "$e" ]; then
            #find "$e" -type f -print
            aa=`find "$e" -type f -print`
            echo $aa
        fi
     done
  fi
done

  

相关文章: