From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brandon Evans Subject: Re: How to view a files owner if username is + 8 chars? Date: Fri, 02 Jul 2004 20:05:48 -0700 Sender: linux-admin-owner@vger.kernel.org Message-ID: <40E6228C.6030805@hosttuls.com> References: <40E5EC2F.3090802@hosttuls.com> <16613.62635.285502.448057@cerise.nosuchdomain.co.uk> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <16613.62635.285502.448057@cerise.nosuchdomain.co.uk> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Glynn Clements Cc: Linux Admin Glynn Clements wrote: > Brandon Evans wrote: > > > The "stat" utility can handle usernames longer than 8 characters. > So can the '%u' directive for "find ... -printf ...". > > You can get roughly the same behaviour as "ls -l" with: > > find $dir -mindepth 1 -maxdepth 1 -printf '%04m %3n %8u %8g %9s %Tb %Td %TY %f %l\n' > nice. stat will work just fine. Thank you! -- Thanks, Brandon E.