public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] look for a file type + sort
  @ 2013-09-13 20:52 99% ` Alexander Kapshuk
  0 siblings, 0 replies; 1+ results
From: Alexander Kapshuk @ 2013-09-13 20:52 UTC (permalink / raw
  To: gentoo-user

On 09/13/2013 07:48 AM, Joseph 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?
>
Perhaps not the most elegant solution.

ls -lt `du -a|grep -i '\.pdf$'|awk '{ print $2 }'`|awk '{ print 
$6,$7,$8,$9,$10,$11 }'



^ 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 20:52 99% ` Alexander Kapshuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox