find files on command line by specific modification dates

find /path/to/dir -newermt "date"

find /path/to/dir -newermt "Feb 07"

find /path/to/dir -newermt "yyyy-mm-dd"

## List all files modified on given date

find /path/to/dir -newermt yyyy-mm-dd ! -newermt yyyy-mm-dd -ls

# Assuming you want to find perl files:

### print all *.pl ###

find /path/to/dir -newermt "yyyy-mm-dd" -print -type f -iname "*.pl"

Popular posts from this blog

The most useful defaults-write options

Erasing firmware password

Migrating from Windows to Mac