Wes Owen wrote:
> How can I get a list of all the files a user owns on my filesystem.  I 
> would need the full path of each file...

As root:

% cd /
% find . -user fred | cut -b 2- > freds_files.txt

Find will give you output like:

./home/fred/fredfile.txt

Passing it through cut that way will chop off the leading period.  Keep in
mind that this will list directories, files, links, etc. though.  See the
-type option (man find) to isolate different types of files.

-dwd-


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to