From: | Alexander Kapshuk <alexander.kapshuk@×××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] look for a file type + sort | ||
Date: | Fri, 13 Sep 2013 20:52:16 | ||
Message-Id: | 52337AF3.6080109@gmail.com | ||
In Reply to: | [gentoo-user] look for a file type + sort by Joseph |
1 | On 09/13/2013 07:48 AM, Joseph wrote: |
2 | > I want to list recursively certain type of files eg. *.pdf but I want |
3 | > to display: date, path and newest file first. |
4 | > |
5 | > What is the easiest way of doing it? |
6 | > |
7 | Perhaps not the most elegant solution. |
8 | |
9 | ls -lt `du -a|grep -i '\.pdf$'|awk '{ print $2 }'`|awk '{ print |
10 | $6,$7,$8,$9,$10,$11 }' |