Skip to content
Studytrails

Follow the latest in AI

  • Artificial Intelligence
  • Amazon AWS
  • Machine Learning
  • java
    • frameworks
    • Json
      • Jackson
      • GSON
  • Kubernetes

cat all files recursively in a directory

November 21, 2015 by Mithil Shah

find . -name '*.txt' -exec cat {} \;

This command finds all files that have an extension of .txt in the current directory and its sub directories and executes a cat command on them

Categories blog
Total size of a directory in unix
use awk to add/subtract values from a column in csv file

Recent Posts

  • The Future of AI Architecture: How DeepSeek’s “Engram” Module Mimics Human Memory to Supercharge LLMs
  • An easy introduction to LLM agents – structure and components
  • Enforce tagging for SageMaker training job
  • Introduction to scaling Large Model training and inference using DeepSpeed
  • Understand CLIP (Contrastive Language-Image Pre-Training) — Visual Models from NLP

Recent Comments

  • JSON in Java | Baeldung on Java Google Json (Gson) Custom Serializer
  • Candy on List all Objects in R
  • Biuro Nieruchomości Warszawa on Understand CLIP (Contrastive Language-Image Pre-Training) — Visual Models from NLP
  • Dan on Print values on R console or file using cat() or print()
  • srujana on CloudFormation for SageMaker instance
© 2026 Studytrails • Built with GeneratePress