Concatenate files from stdin input
Read file paths from stdin and concatenate them into a single output file with separators. Use with find, fd, or grep pipelines to combine multiple files for analysis or context.
/plugin marketplace add dnvriend/concat-glob-tool/plugin install concat-glob-tool@concat-glob-tool--stdinRead file paths from stdin and concatenate them.
find ... | concat-glob-tool --stdin --output-file FILE [OPTIONS]
-s, --stdin: Read paths from stdin (required)-o, --output-file FILE: Output file path (required)--separator TEXT: Separator text (default: ---)--no-dry-run: Execute concatenation-f, --force: Overwrite existing file# From find command
find . -name '*.py' | concat-glob-tool --stdin -o output.txt --no-dry-run
# From fd command
fd -e py | concat-glob-tool --stdin -o output.txt --no-dry-run
# Filtered with grep
find . -name '*.py' | grep -v test | concat-glob-tool --stdin -o output.txt --no-dry-run
Files concatenated with separators including filenames.