Skip to content
Studytrails

Follow the latest in AI

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

Find all files recursively not containing a specified string in the file name

October 5, 2015 by Mithil Shah

find . ! -name '*gz' -type f
This searches recursively in the current folder for all files that do not contain ‘gz’ in its name.

Categories blog
Unix Search folder for files containing a particular string
Recursively delete files not containing a specified string in the filename

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