[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enhancement request for 'locate'
From: |
Bernhard Voelker |
Subject: |
Re: Enhancement request for 'locate' |
Date: |
Sun, 21 Apr 2024 18:19:20 +0200 |
User-agent: |
Mozilla Thunderbird |
Hi Seamus,
On 2/13/24 22:02, Seamus de Mora wrote:
Hello,
I have a request for the 'locate' program:
thanks.
I would like to see an option added that would add the modification
time/date to the results (files found by locate). This would be
similar (even identical) to
the output of 'ls -l <filename>'.
It seems there's not much echo on this, and given that many distros have
switched to sisters like mlocate or plocate, adding this here does not
seem to be needed.
BTW: given there are many variants of 'ls' output formats, why not simply
use a little wrapper like this (with the ls(1) options of your choice)?
locate-ls() {
locate -0 "$@" | xargs -0 ls -ld
}
Have a nice day,
Berny
- Re: Enhancement request for 'locate',
Bernhard Voelker <=