Skip to content
Studytrails

Tutorials in ML, AWS, R and Java

  • Amazon AWS
  • Json
    • Jackson
    • GSON
  • frameworks
    • spring
    • hibernate
  • R
    • RServe
    • RJava-Eclipse-Plugin
    • Core
  • blog
  • Source Code

Recursively delete files not containing a specified string in the filename

October 5, 2015 by user

find . ! -name '*gz' -type f -delete

This deletes all files that do not contain ‘gz’ in its filename

Categories blog
Post navigation
Find all files recursively not containing a specified string in the file name
kill all processes with a specific string in its name

Recent Posts

  • CloudFormation for SageMaker instance
  • Kubernetes Course : 2. Static Website Deployment
  • Local DNS Resolution for EKS with private endpoint
  • What is Kubernetes – simple Introduction
  • Docker container – easy to understand introduction

Recent Comments

  • Paul on Java Google Json (Gson) Introduction
  • Henrik Winsnes on Java Gson – Building json from java (Data-Binding)
  • Meepa on Using Imports in Java and importing packages
  • Güray on List all Objects in R
  • cloudkatha on Aws solution architect associate certification tips
© 2021 Studytrails • Built with GeneratePress