Re: Enhancement request for 'locate'
James Youngman <[email protected]>
| Newsgroups | gmane.comp.gnu.findutils.bugs |
|---|---|
| Message-ID | <CAGwX765icDsjxECh6kLiPsUSMX_dvHhV=WE=QA5ZSQxEvYLxrQ@mail.gmail.com> |
>
>
>
> locate-ls() {
> locate -0 "$@" | xargs -0 ls -ld
> }
>
>
I'd suggest using -r there also, so that if no files are found, the user
doesn't get a surprising listing of just "." (with its mod-time and so
forth).