find command

Hi,

how do we find "all" files which are most recently modified in size or made e.g in last day or last two days.
If we run a find command on root, will the system attempt to find the file in the nfs mounted partitions only? looks as it does. If so what is the switch for running ot on a local system.


Regards
naufalAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
tfewsterConnect With a Mentor Commented:
Find options:
-mtime -3    (modified less than 3 days ago)
-local or -fstype ufs
0
 
naufalAuthor Commented:
tx
0
 
jonaslindenCommented:
Hi,

The "find" command should work. To find files starting at root modified within the last day run:
  find / -ctime 1                          


The find command looks in all mounted filesystems local or NFS if you search from root (/).

To search only local filesystems use the -local switch on Solaris:
  find / -name "*.log" -local
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.