Date: Tue, 29 Jan 2013 03:54:55 +0100 From: "Ralf Mardorf" <ralf.mardorf@rocketmail.com> To: freebsd-questions@freebsd.org Subject: Re: How to fix a broken owner for files from world & build from ports? Message-ID: <op.wrnjptnuuwjkcr@freebsd> In-Reply-To: <510736DE.4060701@gmail.com> References: <op.wrms0fqkqhadp0@freebsd> <20130128182726.42db0712.freebsd@edvax.de> <op.wrnfetnauwjkcr@freebsd> <op.wrngzye9uwjkcr@freebsd> <510736DE.4060701@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Jan 2013 03:41:34 +0100, Joshua Isom <jrisom@gmail.com> wrote: > On 1/28/2013 7:56 PM, Ralf Mardorf wrote: >> Still not perfect, I guess I need something similar to ls -RAl for some >> directories :S and I didn't test what awk will do with names including a >> space. > > Try `find /dir -ls`. You can pipe it into sed like this `find /dir -ls| > sed -e 's%/dir%%g'` and then get something easily comparable. Cool, it does display the path, but there's still the other issue: $ touch test\ test $ find * -ls| sed -e 's%/dir%%g'| awk '{print $5" "$11}' rocketmouse test Perhaps awk isn't that important, but it e.g. will filter different file sizes, for e.g. configurations I edited in the meantime. :(
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wrnjptnuuwjkcr>