← Back to tools

catdir

Concatenate contents of all files in a directory tree, like cat for folders

Text Processing linuxmacos Go

Description

Catdir is a CLI utility that traverses directories and concatenates the contents of all files within a folder and its subfolders. Similar to the Unix cat command, but operates on entire directory trees.

When to use this tool

Good fit when
  • You need to concatenate all files in a directory
  • You want to dump an entire project's contents
Avoid when
  • You are working with binary files

AI Summary

Traverses directories and concatenates all file contents, like cat for entire directory trees.

Capabilities

  • + Recursively concatenate file contents
  • + Traverse directory trees
  • + Unix cat-style output for directories

Use When

  • You need to concatenate all files in a directory
  • You want to dump an entire project's contents

Avoid When

  • x You are working with binary files
View AGENTS.md for catdir