How to find recently modified files
$ find . -mtime -[days]
- Command
- find
- Description
- Search based on file modification time. Example: Find files modified within the last 24 hours.
- Deep Dive
- -mtime -1: Less than 1 day ago (24h) -mtime +7: More than 7 days ago For minutes, use `-mmin`.
- Related
- How to find files by name size