* Re: [gentoo-user] look for a file type + sort
@ 2013-09-13 4:58 99% ` Canek Peláez Valdés
0 siblings, 0 replies; 1+ results
From: Canek Peláez Valdés @ 2013-09-13 4:58 UTC (permalink / raw
To: gentoo-user
On Thu, Sep 12, 2013 at 11:48 PM, Joseph <syscon780@gmail.com> wrote:
> I want to list recursively certain type of files eg. *.pdf but I want to
> display: date, path and newest file first.
>
> What is the easiest way of doing it?
ls -l --sort=time "$(find /path -iname "*.pdf")"
If there are no spaces in the filenames/directories, you can drop the
quotes from $().
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-09-13 4:48 [gentoo-user] look for a file type + sort Joseph
2013-09-13 4:58 99% ` Canek Peláez Valdés
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox