# cat bbb-subfolder.sh
for d in ./*; do
  if [ -d "$d" ]; then
     echo "$d"
     for e in $d/*;do
        if [ -d "$e" ]; then
            echo "$e"
        fi
     done
  fi
done

  

相关文章:

  • 2021-05-24
  • 2022-02-08
  • 2021-07-16
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
  • 2021-06-03
  • 2022-12-23
猜你喜欢
  • 2022-03-06
  • 2022-02-07
  • 2022-12-23
  • 2021-09-07
  • 2021-08-15
  • 2022-03-01
  • 2022-12-23
相关资源
相似解决方案