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 Mithil Shah

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

  • Batch Normalisation
  • Distributed Machine Learning – Part 2 Architecture
  • Distributed Machine Learning – Part 1 Hardware
  • Create/drop Athena table using python in Sagemaker
  • CloudFormation for SageMaker instance

Recent Comments

  • DavidZ on Java json – jackson List serialization
  • Kumar Puran on Install Climate Data Operator (CDO) with NetCDF, GRIB2 and HDF5 support
  • 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
© 2021 Studytrails • Built with GeneratePress