View Single Post

   
  #2 (permalink)  
Old 01-16-2008, 08:38 AM
Jeremy Harris
 
Posts: n/a
Default Re: Local file system find?

Mike wrote:
> How can I run a find command that will search all the local file
> systems without traversing to mounted file systems? I am trying to
> find all files that are orphans on the machine e.g., -nouser and
> -nogroup options. I need to search the entire machine.
>
> I tried the -local option and it still traverses to mounted file
> systems.


find / ! -local -prune -o -print

At least as of Solaris 10 this is an example in the manpage.

- Jeremy
Reply With Quote