Skip to content
Studytrails

Tutorials in ML, AWS, R and Java

  • Amazon AWS
    • S3
  • Videos
  • Json
    • Jackson
    • GSON
  • R
    • RServe
    • RJava-Eclipse-Plugin
    • Core
  • blog
  • Source Code

Delete all files older than a particular time

October 11, 2015 by Mithil Shah

find *.png -mtime +5 -exec rm {} \;>
This delets all files older than 5 days

find *.png -mmin +60 -exec rm {} \;
This deletes all png files older than 60 minutes

facebookShare on Facebook
TwitterTweet
Categories blog
Post navigation
Flush Memcached
Merge multiple text files into another file

Recent Posts

  • Understand CLIP (Contrastive Language-Image Pre-Training) — Visual Models from NLP
  • Amazon S3 lifecycle policies
  • Host a static website on Amazon S3
  • Amazon S3 encryption
  • Amazon S3 access control and permissions

Recent Comments

  • Tolera on Install Climate Data Operator (CDO) with NetCDF, GRIB2 and HDF5 support
  • Brijesh on Java Google Json (Gson) Introduction
  • Tan on Install Climate Data Operator (CDO) with NetCDF, GRIB2 and HDF5 support
  • Ali on Install Climate Data Operator (CDO) with NetCDF, GRIB2 and HDF5 support
  • sidof on PHP on a Java App Server (Apache Tomcat) using Quercus
© 2023 Studytrails • Built with GeneratePress