---

How To Delete Files Older Or Newer Than N Days Using find (With Extra Examples)

This article explains how to delete files older or newer than N days, with extra examples like matching only files using a particular extension, and more. For this we’ll use find, a command line tool to search for files in a directory.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis