Date: Mon, 17 Mar 2008 03:46:45 -0600 From: Modulok <modulok@gmail.com> To: "Paul A. Procacci" <pprocacci@datapipe.com> Cc: freebsd-questions@freebsd.org Subject: Re: Can one list permission bits numerically... Message-ID: <64c038660803170246u11f17f16qb62e61dc78133f34@mail.gmail.com> In-Reply-To: <47DC6E92.1000300@datapipe.com> References: <64c038660803151511r6ae6d229v484769cfe38043bc@mail.gmail.com> <47DC6E92.1000300@datapipe.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Perhaps I missed it somewhere in the man page, but is there a way to > > list files with their permission bits displayed as numeric (octal, as > > in chmod(1)), instead of symbolic? Something like: > > > > ls -lF -imaginaryFlag > > > > 0755 4 Modulok Modulok 512 Dec 17 18:39 dir1/ > > 0644 1 Modulok Modulok 101786 Feb 23 05:53 file1 > > 0644 1 Modulok Modulok 140097 Feb 13 23:38 file2 > > .... > Maybe something like this will suit you: > > stat -f "%p %l %u %g %z %m %N" * Thank you! That will do nicely. -Modulok-
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64c038660803170246u11f17f16qb62e61dc78133f34>