Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] look for a file type + sort
Date: Fri, 13 Sep 2013 04:58:55
In Reply to: [gentoo-user] look for a file type + sort by Joseph
1 On Thu, Sep 12, 2013 at 11:48 PM, Joseph <syscon780@×××××.com> wrote:
2 > I want to list recursively certain type of files eg. *.pdf but I want to
3 > display: date, path and newest file first.
4 >
5 > What is the easiest way of doing it?
7 ls -l --sort=time "$(find /path -iname "*.pdf")"
9 If there are no spaces in the filenames/directories, you can drop the
10 quotes from $().
12 Regards.
13 --
14 Canek Peláez Valdés
15 Posgrado en Ciencia e Ingeniería de la Computación
16 Universidad Nacional Autónoma de México


Subject Author
Re: [gentoo-user] look for a file type + sort "Canek Peláez Valdés" <caneko@×××××.com>