📌  相关文章
📜  bash 循环遍历目录中的文件 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:37.390000             🧑  作者: Mango

代码示例2
# Basic syntax:
for filename in `cat file_of_filenames.txt`; do
    echo $filename
done

# This iterates through each of the filenames listed in the 
#    file_of_filenames.txt
# Note, the filenames should be separated by spaces or new-lines