Linux find mmin minutes

 

mmin option is to find files/directories with last modified in minutes.

Find files that are exactly 2 minutes old:

$ find . -mmin 2

Find files that are less than 2 minutes old:

$ find . -mmin -2

Find files that are more than 2 minutes old:

$ find . -mmin +2

Find files that are more than 2 hours old:

$ find . -mmin +120

Find files that are less than 2 hours old:

$ find . -mmin -120

-Sany

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s