📌  相关文章
📜  bash 将文件合并为一个 - Shell-Bash 代码示例

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

代码示例1
# Basic syntax:
cat  >> combined_files.txt
# Where >> indicates appending (vs > which overwrites the file)

# Example usage:
# Say you want to combine all text files in the current directory into
# one. To do this, run:
cat *.txt >> all_text.txt