I am running this command to find out the files which were modified in last 10 minutes

 find / -fstype local -mtime -10m

but it is giving following error each time

find: missing argument to `-mtime'

What is wrong with above?

link|improve this question

80% accept rate
feedback

3 Answers

up vote 3 down vote accepted

It is -mmin like

find / -fstype local -mmin -10
link|improve this answer
feedback

Use mmin instead of mtime which is only for hours.

$ find / -fstype local -mmin -10
link|improve this answer
feedback

Gnu find seems to want -mtime argument as days

File’s  data was last modified n*24 hours ago.

See -mmin

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.