Lotus frickin' Notes.
-Scott
Scott,
Why does your lines wrap so early? Are you posting thru the website or
what email client?
----- Original Message -----
From: samintz
To: CSGalloway@nc.rr.com
Sent: Thursday, October 13, 2011 09:06 PM
Subject: RE: [T&T - Scripting-t-3290] Re: newest files in a tree
This is a TCC solution that doesn't rely
on an external plugin or app.
pdir /a:-d /s /(dy/m/d th:m z
fpn) |! sort |! tail /N10
or
pdir /a:-d /s /(dy/m/d th:m z
fpn) |! sort /r |! head /N10
alias newest=`pdir /a:-d /(dy/m/d th:m
z fpn) %2$ |! sort |! tail /N%@if[%1.==.,10,%1]`
newest
newest 5
newest 10 /s
newest 10 *.cpp /s
-Scott
This is one of the things I was hoping
to solve with the "DIR /S sorted
together" request.
If I had been more clear that I wanted the full DIR output with whatever
switches applied, this would have been solved by DIR in the latest TCC.
I (obviously) use TIMEDIR to solve this issue as well.
On Thu, Oct 13, 2011 at 15:45, Charles Dye <>wrote:
Quote:
Quote:
> ---Quote (Originally by
samintz)---
Quote:
> If I want to find the 10 newest files in
> a directory I would use DIR piped into HEAD or TAIL.
> ---End Quote---
> That'll give the n most recent in a single directory....
>
>
>
>
>
--
Jim Cook
2011 Monday: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Tuesday.