The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-27-2009
vyasa vyasa is offline
Registered User
  
 

Join Date: May 2009
Posts: 6
to parse a directory and its subdirectories and find owner name of files

hi all,

i need to capture all the files in a directory and its subdirectories that have owner name different than the root owner.

for one file it is " stat -c %U filename " but i need to search for each and every file and record it.

thanks in advance