将文件夹下的文件名输出重定向到文件中 linux 命令如下 find ./ -name "*.a" > ./name.txt find ./ -name "*" > ./name.txt windows dir /b |findstr .lib > 1.txt