shell find->while

来源:互联网 发布:敏捷网络功能 编辑:程序博客网 时间:2024/06/10 12:02
#!/bin/bashwhile read linedo    echo $linedone< <(find . -type f -name "*.txt")


将find搜索的结果给while循环用。

0 0