https://github.com/litongjava/go-gather-files
Collect all the files in the current directory and its subdirectories into one file
https://github.com/litongjava/go-gather-files
Last synced: 10 months ago
JSON representation
Collect all the files in the current directory and its subdirectories into one file
- Host: GitHub
- URL: https://github.com/litongjava/go-gather-files
- Owner: litongjava
- License: apache-2.0
- Created: 2023-07-17T08:50:09.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-17T08:59:23.000Z (almost 3 years ago)
- Last Synced: 2025-01-26T04:09:52.908Z (over 1 year ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# go-gather-files
将当前目录下及其目录子的所文件都收集到一个文件中
存储格式是
```
文件名
----------------------------
文件内容
----------------------------
子录名/文件名
----------------------------
文件内容
----------------------------
子目录名/子子目录名/文件名
-------------------------------
文件内容
-------------------------------
```
## usage
```
go-gather-files -I node_modules,.idea,public -o output_1.txt E:\code\project\esunward\gaozhuang-html\sanban-real-world
```