This script is designed to scan a large directory, including its nested subfolders, and retrieve all Markdown (.md/.mdx) files. It then merges the content of these files into a single output file. This is useful for consolidating multiple Markdown files from various sources into one comprehensive document.
- Recursive Search: Supports searching for Markdown files in nested subfolders.
- Automatic Merging: Combines the content of all found Markdown files into one file.
- Customizable Output: Allows customization of the output file name and format.
此脚本旨在扫描一个大目录,包括其嵌套的子文件夹,并检索所有Markdown(.md/.mdx)文件。然后,它将这些文件的内容合并成一个输出文件。这对于将来自不同来源的多个Markdown文件整合成一个综合文档非常有用。
- 递归搜索:支持在嵌套的子文件夹中搜索Markdown文件。
- 自动合并:将所有找到的Markdown文件内容合并到一个文件中。
- 可定制输出:允许定制输出文件名和格式。