Registered User Asked: 2011-03-12 01:34:12 +0800 CST2011-03-12 01:34:12 +0800 CST 2011-03-12 01:34:12 +0800 CST finding a file which was modified in last 10 minutes 772 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? bash find 3 Answers Voted Best Answer nitins 2011-03-12T01:40:22+08:002011-03-12T01:40:22+08:00 It is -mmin like find / -fstype local -mmin -10 atx 2011-03-12T01:39:21+08:002011-03-12T01:39:21+08:00 Use mmin instead of mtime which is only for hours. $ find / -fstype local -mmin -10 jkj 2011-03-12T01:40:36+08:002011-03-12T01:40:36+08:00 Gnu find seems to want -mtime argument as days File’s data was last modified n*24 hours ago. See -mmin
It is
-mmin
likeUse mmin instead of mtime which is only for hours.
Gnu find seems to want -mtime argument as days
See -mmin