NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: geting some file stat



On Tue, Feb 19, 2008 at 02:25:43PM -0500, George Georgalis wrote:
|I'm having difficulty determining a fast way to get the
|mode/UID/GID of a *large* number of files... I'm trying
|to use stat, but the numeric values that I could record
|for later input to chmod/chown commands are not easy to
|come by. Best method I see is to grep out stat -x output
|but I was wondering if there is a way to use -f or some
|other means?

mtree -c may also do what you wanted

-- 
Malcolm Herbert                                This brain intentionally
mjch%mjch.net@localhost                                                left 
blank


Home | Main Index | Thread Index | Old Index