我希望我的 shell 脚本访问主目录中的所有子目录。在目录中做一些事情,将输出发送到假脱机文件并移动到下一个目录。考虑 Main Dir = /tmp Sub Dir = ABCD(四个子目录)
bash shell-script
bash ×1
shell-script ×1