• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: oldest file of folder1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: oldest file of folder1


  • Subject: Re: oldest file of folder1
  • From: Emmanuel <email@hidden>
  • Date: Tue, 1 Feb 2005 22:31:12 +0100

At 1:59 PM -0700 2/1/05, Robert Poland wrote:
Here's what I'm trying to do. Apparently "oldest" is not an acceptable description. Is there an easy to accomplish this?

Try this:

set f to posix path of your_folder_path_here
set the_oldest to last paragraph of (do shell script "ls -t " & quoted form of f)


Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >oldest file of folder1 (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: duplicate songs in iTunes
  • Next by Date: Re: download a file with a progress bar question
  • Previous by thread: Re: oldest file of folder1
  • Next by thread: Re: oldest file of folder1
  • Index(es):
    • Date
    • Thread