Re: Shell script help - get date of last modified file in hierarchy
- Subject: Re: Shell script help - get date of last modified file in hierarchy
- From: "Mark J. Reed" <email@hidden>
- Date: Tue, 27 Mar 2007 15:19:26 -0400
- Delivered-to: email@hidden
- Delivered-to: email@hidden
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=bCxR8rF63TGuvLpYMIhuPI6xUgi9eY1XJ+GRwbCTvoIUHB0cT5Hs9HFGWMMC2WNq3xpnIYdwzUrkKv8FM1I1aD+/Oa8JCFYmWEAV7wrfoGh1rQ5PoF9djIpm7eoyMwZg48/3WbfUqU+ODbRhQjR+de/IE3icaMLAx3mepxt2IIo=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=NF1ulset62pnYjGlbRVAC6PNI9jNli9uqwVTALB2pcsd4ZACuFJVy0KxlJZowAG7dbBbXPVIN45Y4LcNu0wDV2Rb4UVypwbRlvt+HhLrs6bLoBurAdEvPUJQ0N7f3Re4+mZvvO9sew7lcmAuKY5GqhZvUkvp6hBKrWpVbPvNrTU=
On 3/27/07, Luther Fuller <email@hidden> wrote:
set mostRecentFile to (item 1 of (sort (files of entire contents of folderRef) by modification date)) as alias
Well, there you go. Finder *does* have a "newest file" field.
Sort of. :)
Thanks, Luther!
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.