How to find files with specific extensions recursively using the for/in syntax?

后端 未结 0 959
北荒
北荒 2021-01-12 16:15

I would like to do something like this:

for file in *.sh; do
  echo "$file"
done

But recursively, so something equivalent to this (

相关标签:
回答
  • 消灭零回复
提交回复
热议问题